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

changeset 184
e8eecee6aadf
parent 180
009700915269
child 261
1467d182cfe3
--- a/src/main/webapp/WEB-INF/jsp/error.jsp	Sat Jan 23 14:47:59 2021 +0100
+++ b/src/main/webapp/WEB-INF/jsp/error.jsp	Fri Apr 02 11:59:14 2021 +0200
@@ -26,14 +26,13 @@
 --%>
 <%@page pageEncoding="UTF-8" %>
 <%@page import="de.uapcore.lightpit.Constants" %>
-<%@page import="de.uapcore.lightpit.modules.ErrorModule" %>
 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
 <%@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="errorCode" value="${requestScope['javax.servlet.error.status_code']}"/>
-<c:set scope="page" var="returnLink" value="${requestScope[ErrorModule.REQ_ATTR_RETURN_LINK]}"/>
+<c:set scope="page" var="returnLink" value="${requestScope[Constants.REQ_ATTR_REFERER]}"/>
 
 <div id="error-page">
     <h1><fmt:message key="error.headline"/></h1>

mercurial