How to add an error page to a CQ5 project?
Hi,
I want to add an error page to a CQ5 project. In normal circumstances I would add
<error-page><exception-type>java.lang.Throwable</exception-type><location>/error.jsp</location></error-page>
to the web.xml and in the error.jsp insert the
<%@ page isErrorPage="true" %>
How do I do it in CQ5?
Thank you.
Cheers,
Viren.