src/main/webapp/WEB-INF/jsp/error.jsp

changeset 261
1467d182cfe3
parent 184
e8eecee6aadf
child 335
1eed60b779da
--- 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>

mercurial