Thanks Margaret!
I'm quite new to JSP, how to read the data only once in? Should I read it
for every User in and then store it in the session?

Bye,

Philip


> If it is configuration information that is important to the whole
> application, I personally would probably read it in once and store it as
> session variables. This will also prevent problems if someone modifies the
> configuration file while the application is open. If you read the
> configuration each time you need the information, you could end up with
half
> your application variables being before the change and the other half
after.
> Better to take a snapshot.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to