JSP and JavaBean problem.......
Hai.. everyone...
I have a problem about the javaBean and jsp, pls help me to solve this probem ... ...
my problem is i create a jsp program let say counter.jsp.... this .jsp function is to call another javaBean (Counter.java ) function which will holds the current numbers of times the bean 's property has been accessed.
My problem is WHY when i open 1browser to access this counter.jsp file.. it work fine... it will show the output like ::
you access this page for 1time;
you access this page for 2time;
you access this page for 3time;
you access this page for 4time;
but what happen is when i open another diffrent browser to access the same page at the SAME time it will show the output like :
you access this page for 5time;
you access this page for 6time;
you access this page for 7time;
you access this page for 8time;
but i expert the output will like that same value like
you access this page for 1time;
you access this page for 2time;
you access this page for 3time;
you access this page for 4time;
WHY the value in not started from begining , is that the value store in the Bean is not clear before i access the SAME pages AT the SAME timeS?
Then how can i solve this type of problem using javaBean to made the counter.jsp can handle many user at 1 time....
pls help and Thnaks a lot......

