| <%-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. The ASF licenses this file to You | |
| under the Apache License, Version 2.0 (the "License"); you may not | |
| use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software | |
| distributed under the License is distributed on an "AS IS" BASIS, | |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| See the License for the specific language governing permissions and | |
| limitations under the License. For additional information regarding | |
| copyright in this work, please see the NOTICE file in the top level | |
| directory of this distribution. | |
| --%> | |
| <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | |
| <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> | |
| <fmt:setBundle basename="ApplicationResources" /> | |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title><fmt:message key="errorPage.title" /></title> | |
| <link rel="stylesheet" media="all" href='<c:url value="/roller-ui/styles/roller.css"/>' /> | |
| </head> | |
| <body> | |
| <div style="padding: 15px 25px 25px 25px"> | |
| <h2 class="error"><fmt:message key="errorPage.title" /></h2> | |
| <c:set var="status_code" value="${requestScope['jakarta.servlet.error.status_code']}" /> | |
| <c:set var="message" value="${requestScope['jakarta.servlet.error.message']}" /> | |
| <c:set var="type" value="${requestScope['jakarta.servlet.error.type']}" /> | |
| <c:set var="exception" value="${requestScope['jakarta.servlet.error.exception']}" /> | |
| <table width="80%" border="1px" style="border-collapse: collapse;"> | |
| <tr> | |
| <td width="20%">Status Code</td> | |
| <td><c:out value="${status_code}" /></td> | |
| </tr> | |
| <tr> | |
| <td width="20%">Message</td> | |
| <td><c:out value="${message}" /></td> | |
| </tr> | |
| <tr> | |
| <td width="20%">Type</td> | |
| <td><c:out value="${type}" /></td> | |
| </tr> | |
| <tr> | |
| <td width="20%">Exception</td> | |
| <td><fmt:message key="errorPage.message" /></td> | |
| </tr> | |
| </table> | |
| </div> | |
| <br /> | |
| <br /> | |
| </body> | |
| </html> |