Can you move the config file to something under tomcat\webapps\test\WEB-INF\classes? Then you could get the path throught the testing.class ClassLoader.
On 3/14/06, red phoenix <[EMAIL PROTECTED]> wrote: > I have a ordinary Java class,not a servlet class,it locates the directory of > tomcat\webapps\test\WEB-INF\classes\test\testing.class,it will read a > configure file,the configure file locates > tomcat\webapps\test\WEB-INF\conf\test.configure. My question is how to get > real path of configure file,because tomcat may install C Disk or D Disk,or > installed under Windows or Linux OS. > > Any idea will be appreciated! > Edward > > -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
