Howdy, You can use a singleton pattern object located in a common classloader repository, e.g. $CATALINA_HOME/shared/lib. Both your webapps would see the same instance of this object and can share data this way.
You won't be able to share HttpSession objects between webapps without a lot of jumping through hoops. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Aymeric Alibert [mailto:[EMAIL PROTECTED] >Sent: Sunday, August 10, 2003 11:01 AM >To: <Tomcat Users List >Subject: Sharing session between webapps > >Hi, > >I have two web applications running on the same Tomcat server. One is used >for administration (webapp1) of the other one (webapp2). I would like my >administration application to be able to set some session values in >'webapp2' and then redirect to 'webapp2'. The goal is to bypass the login >page by directly setting-up the userid. >Is there any way to share sessions information between app? >Any other suggestion? > >Thanks, > >Aymeric. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
