Thu, 29 Dec 2022 15:12:25 +0100
fix Jakarta EE request attribute names
src/main/webapp/WEB-INF/jsp/error.jsp | file | annotate | diff | comparison | revisions |
--- a/src/main/webapp/WEB-INF/jsp/error.jsp Thu Dec 29 15:04:21 2022 +0100 +++ b/src/main/webapp/WEB-INF/jsp/error.jsp Thu Dec 29 15:12:25 2022 +0100 @@ -31,7 +31,7 @@ <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/> -<c:set scope="page" var="errorCode" value="${requestScope['javax.servlet.error.status_code']}"/> +<c:set scope="page" var="errorCode" value="${requestScope['jakarta.servlet.error.status_code']}"/> <c:set scope="page" var="returnLink" value="${requestScope[Constants.REQ_ATTR_REFERER]}"/> <div id="error-page"> @@ -43,7 +43,7 @@ </tr> <tr> <th><fmt:message key="error.message"/>:</th> - <td><c:out value="${requestScope['javax.servlet.error.message']}"/></td> + <td><c:out value="${requestScope['jakarta.servlet.error.message']}"/></td> </tr> <tr> <th><fmt:message key="error.timestamp"/>:</th>