Error while processing /content/demo/403
Go Back
Modified Resource
Parent of Modified Resource
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 ?