Tomcat Classpath -
I have a factory method in my JSP that seeks a config file in a predefined location example \ abcd \ configfolder \ conf Does. Xml and I have no control over this path ... currently the file is in this location C: \ Myfolder \ project \ abcd \ configfolder \ conf.xml and do not get Tomcat. So I think I'm C: \ Myfolder \ project is in my tomatoes square path, so the factory method conf.xml
Can someone tell me how I can do this ..
Thanks . Kaddy
You are the right candy, put you in a folder like 'con'. Enter the folder in the path and you enter the file in the path as
file myConfFile = new file ("../ conf / conf.xml").
Comments
Post a Comment