You should not share HttpSession; but you can share other objects. For example, you can register an object via JNDI and access the same object in all your apps (databases use this to pool connections).
More Related Contents:
- Can I connect to SQL Server using Windows Authentication from Java EE webapp?
- Where are compiled JSP Java (*__jsp.java) files?
- Sharing session data between contexts in Tomcat
- Cannot create JDBC driver of class ‘ ‘ for connect URL ‘null’ : I do not understand this exception
- Session is lost and created as new in every servlet request
- Stop scheduled timer when shutdown tomcat [duplicate]
- Get the server port number from tomcat without a request
- Tomcat vs Weblogic JNDI Lookup
- Embedded tomcat 7 servlet 3.0 annotations not working
- Is there a way to run a method/class only on Tomcat/Wildfly/Glassfish startup?
- Using .html files as JSPs
- Sessions in struts2 application
- Besides EAR and EJB, what do I get from a Java EE app server that I don’t get in a servlet container like Tomcat?
- How to set session timeout dynamically in Java web applications?
- How to deploy a Java Web Application (.war) on tomcat?
- How to store a file on a server(web container) through a Java EE web application?
- How can I manually load a Java session using a JSESSIONID?
- Which technologies does Tomcat support?
- Deploying my application at the root in Tomcat
- What is the proper way to re-attach detached objects in Hibernate?
- How to use JNDI DataSource provided by Tomcat in Spring?
- EJB 3.1 @LocalBean vs no annotation
- Tomcat Guice/JDBC Memory Leak
- eclipse/tomcat: deploy doesn’t work any more (ClassNotFoundException)
- Why does Intellij-IDEA ignore my tomcat/conf/server.xml Context tag?
- Whitelist security constraint in web.xml
- How to check whether a port is open at client’s network/firewall?
- calling java method in javascript [closed]
- Tomcat: Cache-Control
- Why do we use web.xml? [closed]