[
https://issues.apache.org/jira/browse/SLING-2094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043273#comment-13043273
]
Antonio Sanso commented on SLING-2094:
--------------------------------------
Highlight of the patch above:
1. contains some additions to the API bundle (new runtime SlingJspException)
2. add a new method to the engine ErrorHandler interface (void
handleError(String path,
SlingHttpServletRequest request, SlingHttpServletResponse response)
throws IOException;)
3. the errorPage tags supports just sling resource (not other webapps)
4. the path specified in the errorPage is relative to the Sling application
e.g. /apps/../components/…/MyErrorPage.jsp
If you are not to keen to add the changes on the API (bullet point #1) or you
think that this patch violates the "spirit of Sling " (e.g. bullet point #3 and
#4) please let me know and I'll modify the patch accordingly
> Adding support to call a sling resource for JSP page exception handler <%@
> page errorPage ... %>
> -------------------------------------------------------------------------------------------------
>
> Key: SLING-2094
> URL: https://issues.apache.org/jira/browse/SLING-2094
> Project: Sling
> Issue Type: New Feature
> Components: Engine, Scripting
> Reporter: Antonio Sanso
> Priority: Minor
> Attachments: SLING-2094-asanso-patch.txt
>
>
> At the moment the JSP page exception handler (<%@ page errorPage ... %>) is
> not supported as the jsp engine can't resolve the path to the jsp if this is
> a repository resource.
> See also the user mailing list [0] for more details
> [0] http://www.mail-archive.com/[email protected]/msg01369.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira