The most common way of putting properties for a servlet to read is to put it
into the web.xml file as init-params or one of its equivalents.
This file does not require u to open any file io in ur coding.
I dont know what u mean by putting it into RAM.
-Tim

-----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