Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.1.4
-
Component/s: None
-
Labels:None
-
Environment:win xp - eclipse - maven mojo
-
Number of attachments :
Description
I've a general error-page which handles all types of Exceptions (e.g. JasperException -> shows een the line with the error)
- I declare an error-page in web.xml like this
<error-page> <exception-type>org.apache.jasper.JasperException</exception-type> <location>/error-page.jsp</location> </error-page>
This page is never called on an exception org.apache.jasper.JasperException: /WEB-INF/classes/de/dwpbank/wpdirect/vienna/ug0001samples/uc0004layout/pages/layout1.jsp(13,6) No such tag ro in the tag library imported with prefix v
Reason:
- The Throwable above will be set to Dispatcher.ForwardAttributes by the key javax.servlet.error.exception but this method suppresses all keys starting on "javax.servlet", so the ErrorPageErrorHandler can never forward to it !
Why does the Dispatcher.ForwardAttributes.setAttribute(...) does that ?
Activity
Jan Bartel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jan Bartel [ janb ] |
Andreas Knuth
made changes -
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 6.1.4 [ 13517 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 6.0.1 [ 12921 ] |
Jan Bartel
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |