tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Valentin" <asvb...@hotmail.com>
Subject RE: error-page problem
Date Sun, 06 Jun 2004 01:28:13 GMT
Not sure about this but I believe that has to do with Struts only being able 
to have one ActionServlet registered in the deployment descriptor. I also 
believe someone on the Struts ML my have the answer you are looking for.

Mr. Ariel S. Valentin
mailto: asvb278@hotmail.com




>From: Sng Wee Jim <Wee.Jim.Sng@capco.com>
>Reply-To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>To: "'tomcat-user@jakarta.apache.org'" <tomcat-user@jakarta.apache.org>
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

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


Mime
View raw message