Also, A page with nothing but "ERROR !!!" is probably too small.  There is a
'feature' of IE that won't show an error page if it's under a certain size. 

> -----Original Message-----
> From: Eric Chow [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 10, 2004 11:11 PM
> 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: [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