aspose file tools*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: concurrent access problem in tomcat