users@glassfish.java.net

reading text file in servlet

From: <glassfish_at_javadesktop.org>
Date: Wed, 11 Mar 2009 21:33:16 PDT

I would like to deploy my app using war file by putting the war in autodeploy folder. Many of my servlets need to read a common text file for data they need and I obviously don't want to code the full path of the file in each and every servlet. Glassfish default the working folder to config of the domain. Is there a way to tell Glassfish that the default folder of my app is somewhere else?
[Message sent by forum member 'senderj' (senderj)]

http://forums.java.net/jive/thread.jspa?messageID=336539