>> 500's are tough...

Doesn't putting this in web.xml call a custom 500 error page called 500.jsp?

<error-page>
     <error-code>500</error-code>
     <location>/error/500.jsp</location>
</error-page> 


-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 30, 2003 8:59 AM
To: Tomcat Users List; Kenneth Brooks


Howdy,

> Are Custom Error pages available for 500 errors?

500's are tough, as they are internal server (i.e. not your webapp's)
errors.  I don't recall the spec on this point, but at some point I thought
error page customization only had to be available for 300 and 400 range HTTP
status.

As 500's can occur anywhere in the request processing pipeline, it's
difficult to provide the custom error page hook for them.

> This is under tomcat 4.0.4. (Although production will be under
> 4.1.24)

Not a good idea: there are significant differences between the 4.0.x and
4.1.x branch of tomcat, and you should at least test, if not develop, on
4.1.24 before deploying to it.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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


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

Reply via email to