× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have a webapp which has following:
index.html
info.jsp
detail.jsp
databean.class
controllerServlet.class

- The webapp is running under WebSphere Advanced 4.0.7
- The controllerServlet is added to the
  Servlet and JSPs list of the webapp.
     (no autostart)
- The databean has 'scope=session' in jsp.
- The controllerServlet has his own work-copy of the databean

The controllerServlet is accessed by URL as follows:
<form name="BLWS1" action="BLWController" method=POST onSubmit="return
testaction(action);">
and following is done (in short)
1) I copy the session-databean into the controller-databean.
2) I do my stuff
3) copy controller-databean to session-databean
4) launch jsp (i.e. detail.jsp)

My application is working ok but...
When more users run the application it goes wrong.
It suspect that (some) values in the controller-databean are changed by 2nd
requester.

I checked the WebServer log and I can see that users actually have different
web-session-id's.  However, at least 3 variables from the session-databean
were changed...

IMHO, every user which loads a webapplication got his own version of
java-classes as well as jsp's, session etc, etc...

Any idea what to check, where to look?


thanks.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.