You can configure the JSP10Servlet with an errorPage init argument
which points to the page that should be returned when an error
occurs. See the ServletExec User Guide for more info.
Paul
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of CJ
Smessaert
Sent: Monday, January 29, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: handling http status codes in apache/servletexec on solaris
hello all,
does anyone have an answer as to how to 'catch' all http errors (like 404's)
within apache/servletexec when the file requested isn't an .html extension?
i know within apache, the ErrorDocument configuration can be set to handle
these, however, if a non-existent .jsp is requested, the servlet container
takes over. help?
CJ Smessaert
Ignition State
http://www.ignitionstate.com
312.948.5110 (v)
312.648.8615 (f)
312.399.1262 (c)
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html