This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes concurrent access problem in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "concurrent access problem in tomcat" Watch "concurrent access problem in tomcat" New topic
Author

concurrent access problem in tomcat

Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
hi everyone
im having a problem when running servlets in tomcat my application use servlets for processing and jsp for displaying i use requestdispatcher from the servlet to call the jsp and other servlets the issue comes when there is two people using the application the jsps get switched asothing like
A user gets B users screen with the values and i cant figure out the problem
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
This is nothing to do with Tomcat. This is due the problem in user Management. How do you identfy users at Server side?


Sarath Mohan
Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
well the first servlet runs a validation program then give access to other servlets it dosent happen in other servlets
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
Make your user validation program thread safe. May be a simple method needs to be synchronised which identifies the valid user and his/her pages.

Any othe ideas?
Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: concurrent access problem in tomcat
 
Similar Threads
Design problem web, application
Tomcat 4.1.12 not executing JSP on Sun OS
Problem with encoding
'port in use' error
How to make Tomcat and Apache cooperate?