I have created a simple struts application for which I am supposed to handle multiple sessions.

The application works very well. But the problem is, the session attributes get swapped when multiple users access it.
For example, UserA logs in, username of UserB is shown on Header. UserB wants to view UserC's profile, profile of UserA is displayed.

I am unable to find where the problem exists.

Please help. I am using Struts 1.1, Tomcat 5.0 and JDK 1.4.

Your problem description is very vague.
Nobody will be able to help if you...