-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
I have a servlet called Globals, which reads a config file and stores
variables that can be accessed by other servlets.
Now when the Globals servlet gets automatically started upon
JServ-launch it reads the conf file and presents static methods to
access the variables. After the session for this servlet times out, the
servlet gets destroyed though and I have to reread the config file which
takes too much time. Now a book tells me to make the servlet an allways
running thread to make it persistent, but when I do this, the JServ
engine still destroys the servlet if it's not called during the session
timeout period.
Is there a way to solve such issues, where you want to leave Objects
loaded?
thx
Martin.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]