I'm developing an application with Struts and Tomcat, and I have a problem loosing info from the session. I'm using HTTPSession.setAttribute() to put the desired values on the session but when different users put diferent values only the last value remains.
Any idea? I'm lost.
A session (which is basically a HashTable, so you can't have two values associated to one key) is associated to one user. A user cannot access another's session.
Yes, I know and thats the problem. For some strange reason when the different users puts values from different browsers the last value remains, like the users where using the same session. I don't know how if Struts manage sessions over Tomcat or only Tomcat does it, so I don't know what to do.
The strange thing is if I create a page with pure jsp the session info doesn't lost.
Thanks for your answer
Problem solved... thanks
Just out of curiousity, what was your solution?