Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED]
From: Sng Wee Jim <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: error-page problem Date: Sat, 5 Jun 2004 19:17:00 +0100
Hi, I am using tomcat 5.0.25
I am porting some legacy webapp to struts JSP. Basically I am forwarding my request based on the last token of the request URI, eg. request URI: /testapp/demo then I will forward to demo.do
To do that I am setting the following in my web.xml <error-page> <error-code>404</error-code> <location>/MyForwarderServlet</location> </error-page>
MyForwarderServlet will forward to eg. demo.do in its doPost method. From the tomcat console, I can see that demo.do is hit, but the response is somehow not returned to the browser. Any idea what went wrong? Would overriding Tomcat's DefaultServlet be a better solution?
- Jim
************************************************************************ The information in this email is confidential and is intended solely for the addressee(s). Access to this email by anyone else is unauthorized. If you are not an intended recipient, please notify the sender of this email immediately. You should not copy, use or disseminate the information contained in the email. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Capco.
http://www.capco.com/
************************************************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Get fast, reliable Internet access with MSN 9 Dial-up � now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
