Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default File Directory 1

Status
Not open for further replies.

simsan0874

Programmer
Jul 14, 2004
3
0
0
US
Not sure if this is the correct forum, but I'll try here first.

I've deployed an application to a server running Apache/Tomcat. I attempt to invoke the servlet, which is found. The first thing my servlet attempts to do is read a XML file to define the actions of the system.

I reference the file in the code using a relative path app/resources/servlet-actions.xml. I get an error in the servlet that the file can not be found and it appears it has appended the directory C:\WINNT\system32 to the start of the file name.

Where would this setting exist? Is there something I can set in me application configuration (web.xml or elsewhere) that would override this?

I've exhausted all the books and online reference so any help would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top