If you make the file a Resource Bundle, it is read into memory in HashTable
fashsion, referring to it the first time reads it in, subsequent reads
access the data in memory.

-----Original Message-----
From: Leibovich Family [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 12:41 PM
To: [EMAIL PROTECTED]
Subject: Getting A file from the memory


I want to make my servlet more flexible by adding a property file which will
guide its behaviour. My problem is I don't know how to put the property file
in the RAM memory so that reading the file from the harddisk won't be
neccessary. (Now I'm just re-reading this file in each thread of the
servlet)
Thanks
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to