--
Please forgive my ignorance, I am new to servlets...
I have a jserv.servlets.properties file with lines like so:
foobar.database.name=myDatabaseName
foobar.database.username=visitor
How can I access these from my servlet? Does the servlet have to be
named foobar.class? I have tried
System.getProperty("foobar.database.name") and
System.getProperty("database.name") and neither work - I get a
NullPointerException
Do I have to create unique instance of the Properties class?
Thanks for any help.
--
========================================================+
Mark Foster [EMAIL PROTECTED] ph4256880567x109 fx4256880590
Altrec is now ONLINE! http://www.altrec.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]