I have a jsp(say,one.jsp) and it requests another jsp(say,two.jsp).From here, it is redirected to another jsp(say,three.jsp and this is in another web application.) one.jsp and two.jsp both are in another web application. and all together are in same web server(Tomcat).
The problem is, I inserted a value in session object in one.jsp. I am trying to retrieve this value from three.jsp.I am unable to get this value.
Depending on how much data, and how sensitive the data is, a simple solution might be to use the javax.servlet.http.Cookie object. You may need to have to make the cookie work site wide (as opposed to just under the current directory or context).
I would only do this for a small amount of non-sensitive data. if you have a lot of data, or it contains sensitive information, I'd also advocate the single web application idea that several commentators have already hit on.
In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Is session shared across JSPs in separate web applications?