Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Strange Behaviour .... Automatic re-load of a JSP


Message #1 by ebachler@l... on Tue, 24 Jul 2001 12:49:42
Hello,
<p>
I am using Tomcat 3.2.2. 
Hi,
I am using Tomcat 3.2.2
<br>
I have a jsp that calls a JavaBean method which runs a query on a database 
and builds a hashtable depending on some user characteristics.
<P>
The processing might take from 10 seconds up to 10 minutes.
<br>
- If the result comes back quickly (before 3 minutes), everything works 
fine..... but if the result takes more than 3 minutes to complete 
something strange happens :
<p>
- After 3 minutes, the jsp file is "re-loaded" automatically and the 
javaBean method is called again. The hashtable is therefore re-
initialized. 
<p>
At one point, there are two processes running together !!!!
<br>
Obviously the result is incorrect.
<p>
I don't know what could be the problem.... any idea ?. I am a beginner so 
please, use baby talk to explain !

  Return to Index