You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tony Nakamura <to...@uickarate.com> on 2004/02/19 17:51:49 UTC

FAQ, but help!

Hi,

I am using Tomcat 4.0.4 on Win2K environtment. I see in many places on the
net
that catching 500 error is much more compilcated than catching something
like
404.  I have the following in the %root%/my_app/conf/web.xml

-----------------------------------------------------------
 <error-page>
    <error-code>404</error-code>
    <location>/404.html</location>
 </error-page>

<error-page>
    <exception-type>java.io.FileNotFoundException</exception-type>
    <location>/500.jsp</location>
</error-page>

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

First, I'm wondering if this is a bug on 4.0.4, and second, if there is a
way around
it without having to upgrade to the newer version.


Thank you in advance!


Tony


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