Howto read files

2004-10-04 Thread dmu2201
Hi ML I'm having a problem with tomcat because I would like to read a certain XML file in a 'data' dir. The problem is that the relative path does not work: new File(data/questionnaires.xml/); does not give the file since Tomcat is started from its bin dir and not from my /webapps/PROJECT

RE: Howto read files

2004-10-04 Thread Shapira, Yoav
: Howto read files Hi ML I'm having a problem with tomcat because I would like to read a certain XML file in a 'data' dir. The problem is that the relative path does not work: new File(data/questionnaires.xml/); does not give the file since Tomcat is started from its bin dir and not from my