Use filters,

I am sure they are in Servlet 2.3 basically check the response for error codes and 
than instead dump the default and display you custom page instead.

I am sure if you look up filters it will give you examples of things like that.

    Lambert

>>> [EMAIL PROTECTED] 28/10/2002 16:53:07 >>>
Is there a way, in Tomcat, to redirect all invalid requests to a single
URL?

What I want to do is force any request that's not understood by Tomcat
(which is embedded in my application) to go to the default page, rather
than displaying the Tomcat-specific error message that normally shows.
Is this possible and, if so, how?

--
Darryl L. Pierce <[EMAIL PROTECTED]>
Visit the Infobahn Offramp - <http://welcome.to/mcpierce>
"What do you care what other people think, Mr. Feynman?"





***********************************************************************
This transmission contains information which may be confidential and  
which may also be privileged.  It is intended for the named addressee  
only.  Unless you are the named addressee, or authorised to receive it 
on behalf of the addressee you may not copy or use it, or disclose it 
to anyone else.  If you have received this transmission in error please 
contact the sender.  Thank you for your cooperation. 
***********************************************************************

For more information about AEA Technology please visit our website at 
http://www.aeat.co.uk

AEA Technology plc registered office 329 Harwell, Didcot, Oxfordshire OX11 0QJ.
Registered in England and Wales, number 3095862.

___________________________________________________________________________
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

Reply via email to