tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Errors not going to <error-page>
Date Fri, 06 Feb 2004 13:54:21 GMT


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

I don't know if you can use /WEB-INF as a location, as it has to be
available to the browser.  Try just /jsp/exceptions/Exception.jsp (and
moving your file).

ExceptionConverter is your own class, right?  Depending on its
implementation/configuration, it might be masking the IOException with a
different exception.  We'd need to know more about it to help here.

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:
For additional commands, e-mail:

View raw message