File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Passing the session object around.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing the session object around.." Watch "Passing the session object around.." New topic
Author

Passing the session object around..

sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
I have a WEB APP( a .war) that calls a servlet( an independent servlet ) to handle the sessions and the servlet furthur calls another .war; The problem is that the session object that the servlet creates is not accessible to the 2nd war. Is there any way i can get the same session object in the 2nd web app.
Thanks in advance
Sahil
p.s: i am using wl app server


Adios
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Sessions are not shared between WARs. Surely if you have all this code which needs to cooperate, it should be in the same web application. Why do you have an indpendent servlet at all?


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
jQuery in Action, 2nd edition
 
subject: Passing the session object around..
 
Similar Threads
RemoteSSO?
How to validate user's session while accessing other pages?
web app without session creation
authenticate anonymous user of a web app to the EJB tier
Sharing session attributes between two servlets