tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: can't show self-defined error page !!!
Date Wed, 11 Aug 2004 12:44:54 GMT
Hola,
If you're using Internet Explorer, make sure to turn off the "Show
Friendly HTTP Error Message" setting in the Internet Options panel.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Eric Chow [mailto:echow@macaucabletv.com]
>Sent: Wednesday, August 11, 2004 12:11 AM
>To: Tomcat Users List
>Subject: can't show self-defined error page !!!
>
>I define some error code with a specific error page in Tomcat 5.0.27.
>But it seems not woeking. For example, I type a non-existed page. It
must
>show 404 ......, as in the setting, it should display my error.jsp. but
it
>never show it ..... anything i missed ???
>
>Eric
>
><!-- error.jsp -->
><%@ page isErrorPage="true" %>
>
>ERROR !!!
>
>
>
>
><!-- web.xml -->
>
><!-- Error Pages definition -->
> <error-page>
>  <error-code>403</error-code>
>  <location>/error.jsp</location>
> </error-page>
>
> <error-page>
>      <error-code>404</error-code>
>      <location>/error.jsp</location>
>   </error-page>
>
> <error-page>
>  <error-code>500</error-code>
>  <location>/error.jsp</location>
> </error-page>
>
> <error-page>
>  <error-code>503</error-code>
>  <location>/error.jsp</location>
> </error-page>
>
>==========================
>If you know what you are doing,
>it is not called RESEARCH!
>==========================
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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


Mime
View raw message