29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
29 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
30 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
31 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
31 <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
32 |
32 |
33 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/> |
33 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/> |
34 <c:set scope="page" var="errorCode" value="${requestScope['javax.servlet.error.status_code']}"/> |
34 <c:set scope="page" var="errorCode" value="${requestScope['jakarta.servlet.error.status_code']}"/> |
35 <c:set scope="page" var="returnLink" value="${requestScope[Constants.REQ_ATTR_REFERER]}"/> |
35 <c:set scope="page" var="returnLink" value="${requestScope[Constants.REQ_ATTR_REFERER]}"/> |
36 |
36 |
37 <div id="error-page"> |
37 <div id="error-page"> |
38 <h1><fmt:message key="error.headline"/></h1> |
38 <h1><fmt:message key="error.headline"/></h1> |
39 <table> |
39 <table> |
41 <th><fmt:message key="error.code"/>:</th> |
41 <th><fmt:message key="error.code"/>:</th> |
42 <td>${errorCode} - <fmt:message key="error.code.${errorCode}"/></td> |
42 <td>${errorCode} - <fmt:message key="error.code.${errorCode}"/></td> |
43 </tr> |
43 </tr> |
44 <tr> |
44 <tr> |
45 <th><fmt:message key="error.message"/>:</th> |
45 <th><fmt:message key="error.message"/>:</th> |
46 <td><c:out value="${requestScope['javax.servlet.error.message']}"/></td> |
46 <td><c:out value="${requestScope['jakarta.servlet.error.message']}"/></td> |
47 </tr> |
47 </tr> |
48 <tr> |
48 <tr> |
49 <th><fmt:message key="error.timestamp"/>:</th> |
49 <th><fmt:message key="error.timestamp"/>:</th> |
50 <td><fmt:formatDate type="both" value="<%= new java.util.Date()%>"/></td> |
50 <td><fmt:formatDate type="both" value="<%= new java.util.Date()%>"/></td> |
51 </tr> |
51 </tr> |