1.1 --- a/src/main/webapp/WEB-INF/dynamic_fragments/error.jsp Mon May 11 19:09:06 2020 +0200 1.2 +++ b/src/main/webapp/WEB-INF/dynamic_fragments/error.jsp Tue May 12 22:03:00 2020 +0200 1.3 @@ -24,18 +24,20 @@ 1.4 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 1.5 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.6 --%> 1.7 -<%@page pageEncoding="UTF-8" session="true" %> 1.8 +<%@page pageEncoding="UTF-8" %> 1.9 <%@page import="de.uapcore.lightpit.modules.ErrorModule" %> 1.10 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 1.11 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 1.12 1.13 +<jsp:useBean id="exception" scope="request" type="java.lang.Throwable"/> 1.14 + 1.15 <c:set scope="page" var="errorCode" value="${requestScope[ErrorModule.REQ_ATTR_ERROR_CODE]}"/> 1.16 1.17 <div id="error-page"> 1.18 <h1><fmt:message key="h1"/></h1> 1.19 <table> 1.20 <tr> 1.21 - <th><fmt:message key="errorCode" />:</th> 1.22 + <th><fmt:message key="errorCode"/>:</th> 1.23 <td>${errorCode}</td> 1.24 </tr> 1.25 <tr>