tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: Errors not going to <error-page>
Date Fri, 06 Feb 2004 09:10:34 GMT
and you error page MyErrorPage.jsp

<%@ page isErrorPage="true" %>
<HTML>
<HEAD><TITLE>My Error Page</TITLE></HEAD>
<BODY>
<H2>Exception Information</H2>
<TABLE>

<tr>
<td>Exception Class:</td>
<td><%= exception.getClass() %></td>
</tr>

<tr>
<td>Message:</td>
<td><%= exception.getMessage() %></td>
</tr>

</TABLE>
</BODY>
</HTML>

-----Original Message-----
From: Antonio Fiol Bonnin [mailto:fiol.bonnin@terra.es]
Sent: 06 February 2004 07:28
To: Tomcat Users List
Subject: Re: Errors not going to <error-page>


Not sure if you can use /WEB-INF/... there.

However, I recall some Tomcat versions ignoring <error-page> in some 
cases. IIRC, it was 4.1.18.

HTH,


Antonio Fiol


Wendy Smoak wrote:

>I'm getting an Status 500 page with this:
>ExceptionConverter: java.io.IOException: The document has no pages.
>
>Even though I have this in web.xml:
>   <error-page>
>      <exception-type>java.io.IOException</exception-type>
>      <location>/WEB-INF/jsp/exceptions/Exception.jsp</location>
>   </error-page>
>
>What did I miss?
>
>  
>



<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
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