Might be wrong, but

forward is only within a webapp - redirect is between webapps

Alexander Jesse

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2001 11:06 PM
To: [EMAIL PROTECTED]
Subject: forwarding to another webapp


Is there any way to forward from one webapp to another? By looking at the
code of ActionServlet, the ActionMapping forward attribute is just appened
to request.getContextPath(). This doesn't seem correct. Shouldn't you be
able to forward from one webapp to another via struts? You can do it in
Servlet2.2.

Given the following struts action mapping :
<action path="/jumpPage" forward="/jumpWebApp/aJSP.jsp"></action>
The final result in ActionServlet is a path = request.getContextPath() +
"/jumpWebApp/aJSP.jsp";

Any suggestions out there?
TIA

Chris Bono
[EMAIL PROTECTED]
512.531.8518
http://www.zilliant.com
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to