DO NOT REPLY [Bug 13924] - error-page directive does not always work correctly

2004-04-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=13924

error-page directive does not always work correctly





--- Additional Comments From [EMAIL PROTECTED]  2004-04-12 19:54 ---
2) Is invalid. The JSP.2.4.2 states

Any uncaught exceptions thrown in the body of the JSP page implementation 
class result in the forwarding of the client request and uncaught exception to 
the errorPage URL specified by the JSP page (or the implementation default 
behavior, if none is specified).

The implementation default behaviour for tomcat is to wrap it in a 
org.apache.jasper.JasperException

1) Is a bug. I have a patch and will commit it shortly.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 13924] - error-page directive does not always work correctly

2004-04-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=13924

error-page directive does not always work correctly

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-04-12 20:33 ---
I have committed a patch for the first issue to TC4 and TC5.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 13924] - error-page directive does not always work correctly

2004-04-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=13924

error-page directive does not always work correctly





--- Additional Comments From [EMAIL PROTECTED]  2004-04-14 19:37 ---
Although 2) is technically invalid the current behaviour is rather annoying. I 
have committed a change that will fix this in response to bug 19238.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 13924] - error-page directive does not always work correctly

2002-10-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13924

error-page directive does not always work correctly





--- Additional Comments From [EMAIL PROTECTED]  2002-10-24 10:21 ---
Created an attachment (id=3598)
zip file containing code to reproduce bug 13924 in tester application

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 13924] - error-page directive does not always work correctly

2002-10-29 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13924

error-page directive does not always work correctly





--- Additional Comments From [EMAIL PROTECTED]  2002-10-29 16:05 ---
The problem with issue 2) may be that Tomcat wraps every exception thrown from a JSP 
in a 
JasperException (even ServletExceptions), but does not recurrsively unwrap them 
again.

With regard to 1), it's beyond me why it should make a difference if the exception is 
thrown from a Servlet or a JSP.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 13924] - error-page directive does not always work correctly

2003-01-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13924

error-page directive does not always work correctly





--- Additional Comments From [EMAIL PROTECTED]  2003-01-07 17:55 ---
This sounds a lot like what I reported a while back (not the wrapping thing, but
the servlet vs. JSP thing):

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7371

There's another test case there. We are still using 4.0.1 so it still fails for
me. I have no clue WHY it works when thrown from a JSP, but not from a servlet;
it just doesnt :)

Hell, I'd be happy to start looking at the Tomcat source if someone wants to
shove me in the right direction.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: