This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
author & internet detective

Joined: May 26, 2003
Posts: 32481

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

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.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Have you checked out Aspose?
subject: STRUTS : Passing control across applications ...
It's not a secret anymore!