You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Volker Turau <tu...@pcsrv1.informatik.fh-wiesbaden.de> on 2002/02/04 16:31:02 UTC
web.xml and errorpage
Hi,
in my file web.xml I have registered two errorpages:
<error-page>
<exception-type>java.io.IOException</exception-type>
<location>/ausnahmen/ioException.jsp</location>
</error-page>
<error-page>
<exception-type>java.sql.SQLException</exception-type>
<location>/ausnahmen/sqlException.jsp</location>
</error-page>
if I generate an exception of type java.sql.SQLException the
registered errorpage is called. This is no the case for error of type
java.io.IOException or subtypes thereof. I am using tomct 4.0.1.
Feature or bug?
Tnaks a lot!
volker turau
FH Wiesbaden Fachbereich Informatik
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau/jsp
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>