You cannot forward to another web application.
You can, however, redirect. You set the redirect 
attribute of the forward tag to true.

robert

> -----Original Message-----
> From: avinash_shirol [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 07, 2004 4:17 AM
> To: [EMAIL PROTECTED]
> Subject: Cross web app communication
> 
> 
> 
> Hi,
> 
> I have following questions
> 
> 1. I have two web applications deployed on different m/c. When I 
> login to one web application, I would like to view a page provided by 
> the other application. Basically, redirecting a user to a different 
> web application.
> 
> Is this possible? If so, how?
> 
> 2. I tried to provide a http url(google url) with absolute path in 
> the <forward> tag of struts-config.xml. I kept getting error 
> message "Request Dispatcher not found for http://www.google.com"; in 
> spite of mentioning relativeLocation="false".
> Can't we give absolute pathnames in the path field in struts config?
> 
> -Avinash
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to