Summary: | [PATCH] Page context not fully populated for Exception if using app-wide error page | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Roger Yates <roger42yates> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 5.5.7 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: |
Patch against -r1.62
Alternative patch |
Description
Roger Yates
2004-10-12 02:43:18 UTC
If you want this addressed in the near future, please submit a proposed patch. Created attachment 13843 [details]
Patch against -r1.62
Patch with extended PageContextImpl.getException() to look also for "javax.servlet.error.exception". Created attachment 14363 [details]
Alternative patch
Alternative patch used to fix the issue.
This patch leverages JspRuntimeLibrary.getThrowable(), which already checks for
"javax.servlet.error.exception" and "javax.servlet.jsp.jspException", in this
order.
|