hi uwe, according to the servlet spec two distinct web applications means two distinct servlet contexts. you don't have access from one servlet context to another servlet context's sessions.
one possibility would be to have both servlets running in the same servlet context, so you could exchange data directly through the session. another possibility is to transport the data via request parameters. > -----Ursprungliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag > von Uwe Gerger > Gesendet: Sonntag, 27. Juli 2003 15:39 > An: [EMAIL PROTECTED] > Betreff: Session object > > > Hello, > I have two web applications one implemented with Struts and the second > is Cocoon. Struts invokes Cocoon by an URL and i want to access some > data in cocoon stored in the session object by struts. How can I do > that? Should I append the session Id as a parameter to the request and > then using the request generator I can access the session by using the > session id? > > Thanks > -- > Uwe Gerger _/_/_/ _/ _/ _/ _/ > BMW AG, TG-53 IT-Technologie _/ _/ _/_/_/_/ _/ _/ > 80788 Muenchen _/_/_/ _/ _/ _/ _/ _/ _/ > Tel: +49 89 382 35687 _/ _/ _/ _/ _/_/_/_/ > Fax: +49 89 382 49040 _/_/_/ _/ _/ _/ _/ > mailto:[EMAIL PROTECTED] > > > --------------------------------------------------------------------- > 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]
