You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2022/12/09 08:29:00 UTC

[jira] [Resolved] (SLING-11724) Improve exception handling in generated JSPs

     [ https://issues.apache.org/jira/browse/SLING-11724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu resolved SLING-11724.
----------------------------------
    Resolution: Fixed

Fixed in [commit 6f14664|https://github.com/apache/sling-org-apache-sling-scripting-jsp/commit/6f14664], similarly to https://github.com/apache/tomcat/blob/66a4bcab40ba28b8b0ead1d360575b19fc383da7/java/org/apache/jasper/compiler/Generator.java#L3242.

> Improve exception handling in generated JSPs
> --------------------------------------------
>
>                 Key: SLING-11724
>                 URL: https://issues.apache.org/jira/browse/SLING-11724
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: Scripting JSP 2.6.2
>
>
> The JSP engine generation of the {{_jspService(HttpServletRequest request, HttpServletResponse response)}} method should be improved, so that any possible thrown exception can be handled by the {{pageContext}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)