Revelation: Now I know why System.getProperties("user.dir") == "c:\windows\system32", because that's where the Tomcat NT service must start from (not to mention the java.exe that's in that folder also). Hmm, what to do? Ok, so how can I have a not so relative path?
Conundrum: How can I gain access to configuration info that resides in the web.xml file for the SOAP servlet that calls my class, that in turn calls FOP? -- David B. Bitton [EMAIL PROTECTED] www.codenoevil.com Diversa ab illis virtute valemus. ----- Original Message ----- From: "Beer, Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 2:55 AM Subject: AW: userconfig.xml > > Yeah. If I try File file = new File("userconfig.xml"), where > > is it looking > > relative to the class file requesting the file? > > > No, he is looking relative to the path you started java from. > > Greets, > Christian > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]