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

changeset 180
009700915269
parent 74
91d1fc2a3a14
child 184
e8eecee6aadf
--- a/src/main/webapp/WEB-INF/jsp/error.jsp	Tue Jan 05 19:19:31 2021 +0100
+++ b/src/main/webapp/WEB-INF/jsp/error.jsp	Wed Jan 06 15:39:56 2021 +0100
@@ -1,7 +1,7 @@
 <%-- 
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
-Copyright 2018 Mike Becker. All rights reserved.
+Copyright 2021 Mike Becker. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
@@ -36,30 +36,30 @@
 <c:set scope="page" var="returnLink" value="${requestScope[ErrorModule.REQ_ATTR_RETURN_LINK]}"/>
 
 <div id="error-page">
-    <h1><fmt:message key="h1"/></h1>
+    <h1><fmt:message key="error.headline"/></h1>
     <table>
         <tr>
-            <th><fmt:message key="errorCode"/>:</th>
-            <td>${errorCode} - <fmt:message key="code.${errorCode}"/></td>
+            <th><fmt:message key="error.code"/>:</th>
+            <td>${errorCode} - <fmt:message key="error.code.${errorCode}"/></td>
         </tr>
         <tr>
-            <th><fmt:message key="errorMessage"/>:</th>
+            <th><fmt:message key="error.message"/>:</th>
             <td><c:out value="${requestScope['javax.servlet.error.message']}"/></td>
         </tr>
         <tr>
-            <th><fmt:message key="errorTimestamp"/>:</th>
+            <th><fmt:message key="error.timestamp"/>:</th>
             <td><fmt:formatDate type="both" value="<%= new java.util.Date()%>"/></td>
         </tr>
         <%--@elvariable id="exception" type="java.lang.Exception"--%>
         <c:if test="${not empty exception}">
             <tr>
-                <th><fmt:message key="errorExceptionText"/>:</th>
+                <th><fmt:message key="error.exceptionText"/>:</th>
                 <td>${exception['class'].name} - ${exception.message}</td>
             </tr>
         </c:if>
         <c:if test="${fn:startsWith(returnLink, baseHref)}">
             <tr>
-                <th><fmt:message key="errorReturnLink"/>:</th>
+                <th><fmt:message key="error.returnLink"/>:</th>
                 <td><a href="${returnLink}">${returnLink}</a></td>
             </tr>
         </c:if>

mercurial