Ashutosh,

What is your container?  Tomcat?  JBoss?  I know in Tomcat you can set your
application to be accessible to all webapps on the server.  So, you could
store a token in the application scope, use that as part of a link to
another struts webapp (not module), then pull up the other webapp's object
that contains the tokens to verify the forward was allowed.  You just might
want to timestamp it so it can be cleared out later or invalidated after XXX
minutes if not used.

That's one theory anyway.  I'm sure more will follow from other list
members.

Regards,
David

-----Original Message-----
From: Ashutosh Satyam [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 06, 2005 12:57 AM
To: Struts Users Mailing List
Subject: Switching across multiple web application



Hi,
 I would like to know how can we switch from one web
application to another web application in a struts
framework. I don't mean switching between the various
application modules within a web application.

 What I intend to do is to restrict the user from
directly accessing the 2nd web application. I want
the end user to be routed to 2nd web application always
via the 1st web application.

 Any pointers on this will be appreciated.

Regards,
Ashutosh


---------------------------------------------------------------------
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