tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: More than one error page 404?
Date Tue, 27 Jan 2004 13:58:57 GMT

Howdy,
You can put code in your custom 404 error page to redirect as needed.
Seems like overkill...

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: news [mailto:news@sea.gmane.org] On Behalf Of Marc Guillemot
>Sent: Tuesday, January 27, 2004 6:40 AM
>To: tomcat-user@jakarta.apache.org
>Subject: More than one error page 404?
>
>Hi,
>
>I have a general purpose 404 error page configured in the web.xml but
in
>some
>cases I want to return an other page with the error code 404.
>Is it possible? It seems to me that as soon as I set the response code
to
>404,
>Tomcat discards the current response and sends the 404 error page
>configured in
>the web.xml.
>
>Marc.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message