Status | 500 |
Message | org.apache.sling.api.SlingException: Exception during response processing. |
Location | /content/demo/403 |
Parent Location | /content/demo |
Path | /content/ui-centre/403 |
Referer | http://localhost:4502/content/demo/faq.html |
ChangeLog | <pre></pre> |
I've overlaid the default.jsp found under the libs/sling/servlet/errorhandler/ to set up custom error page.
and I've been using this pice of code
<%@include file="/libs/foundation/global.jsp"%>
<%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0" %><%
%><sling:defineObjects /><%
response.setStatus(500);
request.getRequestDispatcher("/content/demo/403.html").forward(request,response);
%>
I have no clue why it doesn't work. I used the same code for the 404 and it's working.
Any suggestion ?
Views
Replies
Total Likes
See this AEM topic - Customizing Pages shown by the Error Handler
Views
Replies
Total Likes