My servlet application has been uploaded on a website with JRun support. We access our servlets from behind a proxy. When two or more persons from behind the proxy try and access the same sevlets netscape gives an error to one saying "No Data found" and the other gets the data which the first one had requested. What should I do to prevent this?

Joe Morse

This sounds like the servlet you have may be implementing the SingelThreaded interface. Is this true? Also, you really need to watch your use of class-level variables. Any variables you display to your user should probably be declared and assigned from within the scope of the doPost, doGet, or service methods.

Are you able to post your servlet code here? That might be instructive.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact