wood burning stoves*
The moose likes Struts and the fly likes STRUTS : Passing control across applications ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STRUTS : Passing control across applications ..." Watch "STRUTS : Passing control across applications ..." New topic

STRUTS : Passing control across applications ...

Yogesh Mathur

Joined: Apr 18, 2002
Posts: 17

We are making a web application which incorporates more that 1 war's (web archive). The application is controlled by a Login module (a seperate war). The user has to choose the application he wants to log into from this login page. Based on his choice, the control needs to be transferred to the respective application (seperate war for each application).

I am not sure how to pass the control from the login module to the other application as both have different struts-config's and hence the mappings are different.

Waiting for suggestions...

Thanks in Advance,


[ June 14, 2004: Message edited by: Yogesh Mathur ]
[ June 18, 2004: Message edited by: Yogesh Mathur ]

Yogesh Mathur

Joined: Apr 18, 2002
Posts: 17
Still waiting for some suggestions.

Kindly reply for clarifications too if you find the question ambiguous ...
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30138

It depends on what you mean by passing control. You can't share a session between wars as you probably know. You can redirect to another app by using the link, such as http://www.domain.com/otherAppsContextRoot/Home.

The tricky part is how to have security/single sign on between the applications. You might want to post in the security forum for that part.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: STRUTS : Passing control across applications ...
Similar Threads
Webservices - URGENT Information needed !!!
Classloading issue in Websphere 5.0
automatic reloading
Deploying EJB using MySql as a datasource
Problem involving Recursion In Java...