DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21341>.
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=21341

Error page mechanism not working





------- Additional Comments From [EMAIL PROTECTED]  2003-07-16 10:46 -------
Details of above attached fix:
The call to processRequest in ApplicationDispatcher::doForward is replaced with 
the body of processRequest with reversed check, so that in normal case invoke
(outerRequest, response) gets called instead of invoke(request, response).

Need some inputs on the impact if this fix is made *inside* the 
ApplicationDispatcher::processRequest method.

--- src\share\org\apache\catalina\core\ApplicationDispatcher.java
+++ modified\src\share\org\apache\catalina\core\ApplicationDispatcher.java
@@ -509
           ApplicationFilterFactory.DISPATCHER_TYPE_ATTR);
-if (disInt.intValue() != ApplicationFilterFactory.ERROR) {

+if (disInt.intValue() == ApplicationFilterFactory.ERROR) {

Observation: When status code 500 (Internal Serve Error) is returned, IE does 
not show the error-page if the message in the page is less than some number (in 
my case approx 500) of characters. This problem does not occur if Netscape is 
used. Looks like a client side problem.

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

Reply via email to