Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: More than one error page 404?

Shapira, Yoav

2004-01-27



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@(protected)
>Sent: Tuesday, January 27, 2004 6:40 AM
>To: tomcat-user@(protected)
>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@(protected)
>For additional commands, e-mail: tomcat-user-help@(protected)




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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.