| Author |
concurrent access problem in tomcat
|
Inesh Hettiarachchi
Greenhorn
Joined: Feb 07, 2004
Posts: 23
|
|
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: 23
|
|
|
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
|
 |
 |
|
|
subject: concurrent access problem in tomcat
|
|
|