tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37062] - More helpful message when exceptions are raised on JSPs
Date Tue, 04 Apr 2006 01:11:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37062>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37062





------- Additional Comments From jolly.chen@borland.com  2006-04-04 02:11 -------
The new line numbering information is helpful but it looks like post 5.5.13,
after this change has gone in, the root cause exception is wrapped in an
additional layer, making it difficult to catch with settings in the web.xml like

    <error-page>
      <exception-type>javax.persistence.EntityNotFoundException</exception-type>
      <location>/errors/404.jsp</location>
    </error-page>

That config works in 5.5.12 and earlier, but with 5.5.13+ with development mode,
the exception appears to be wrapped one layer thicker (once in the generated
tags code, and once in the ServletWrapper) so that the error-page behavior breaks.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message