You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Florian Brunswicker <fb...@adobe.com> on 2011/05/04 12:07:51 UTC

Custom Error Page (<%@ page errorPage ... %>)

Dear colleagues,

I would like to configure a custom error page
 (e.g. <%@ page errorPage="/apps/geometrixx/components/…/MyErrorPage.jsp" %>)
but I could not get this working. Neither the error page nor the stacktrace is getting displayed when i configure it this way.

The error log says
04.05.2011 11:06:29.648 *ERROR* [0:0:0:0:0:0:0:1%0 [1304503589022] GET /content/geometrixx/de/products.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=nt:file, superType=null, path=/apps/geometrixx/components/contentpage/error.jsp

Could anyone please give me a hint ?

Thank you very much,
kind regards,

Florian