File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Need help in Cross Context Communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need help in Cross Context Communication" Watch "Need help in Cross Context Communication" New topic

Need help in Cross Context Communication

Pooja Dornadhula

Joined: Aug 07, 2007
Posts: 8
Currently i have three applications running in my server. All the three pllications are having 3 different logins.

Now i need to have single login instead of thre.. So i am including a another parameter in the login as product along with UserId and Pwd.

Based on the product type i need to send data to that particular applications. Since all the applicatons are having different different contexts. I am not able to send the data using Request or Seesion objects .. For sesurity reasons i can't send as get method parameters using send Redirect.

I heard that Java Connector Api's will solve this issue. Please help me in this regard. Please help me in solving this .

SCJP 1.4, SCWCD 1.4
amitk sharmas

Joined: Jan 09, 2008
Posts: 1
You can use setAttribute and later you can access it in diff context by using getAttribute.I did it.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

You can turn on Single Sign On (SSO) if your container supports it.
I agree. Here's the link:
subject: Need help in Cross Context Communication
It's not a secret anymore!