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

changeset 72
0646c14e36fb
parent 55
1a3b998afba7
--- a/src/main/webapp/WEB-INF/dynamic_fragments/error.jsp	Fri May 22 16:21:31 2020 +0200
+++ b/src/main/webapp/WEB-INF/dynamic_fragments/error.jsp	Fri May 22 16:21:59 2020 +0200
@@ -31,7 +31,7 @@
 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
 <%@ 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="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="returnLink" value="${requestScope[ErrorModule.REQ_ATTR_RETURN_LINK]}"/>
 
@@ -40,28 +40,28 @@
     <table>
         <tr>
             <th><fmt:message key="errorCode"/>:</th>
-            <td>${errorCode} - <fmt:message key="code.${errorCode}" /></td>
+            <td>${errorCode} - <fmt:message key="code.${errorCode}"/></td>
         </tr>
         <tr>
-            <th><fmt:message key="errorMessage" />:</th>
+            <th><fmt:message key="errorMessage"/>:</th>
             <td><c:out value="${requestScope['javax.servlet.error.message']}"/></td>
         </tr>
         <tr>
-            <th><fmt:message key="errorTimestamp" />:</th>
+            <th><fmt:message key="errorTimestamp"/>:</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>
-            <td>${exception['class'].name} - ${exception.message}</td>
-        </tr>    
+            <tr>
+                <th><fmt:message key="errorExceptionText"/>:</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>
-            <td><a href="${returnLink}">${returnLink}</a></td>
-        </tr>
+            <tr>
+                <th><fmt:message key="errorReturnLink"/>:</th>
+                <td><a href="${returnLink}">${returnLink}</a></td>
+            </tr>
         </c:if>
     </table>
 </div>

mercurial