Results 1 to 1 of 1
- 11-09-2007, 04:00 PM #1
Member
- Join Date
- Nov 2007
- Posts
- 1
- Rep Power
- 0
problem locating file in web application
Hi everyone!
I have to read an xml file in my application. The file should be in the war, and the path to this file in .properties file. The properties file looks like this:
libfile=/books.xml
I tried to store the books.xml in the application root, in WEB-INF directory and in the directory where my .java file are.
I really don't know why when I deploy the application the file cannot be found and I get System cannot find the file specified all the time.
I would appreciate any help. Thank you.
Similar Threads
-
Problem In Web Application
By sharfi in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 04-16-2008, 10:36 AM -
Problem locating resources on Linux.
By jimm1 in forum New To JavaReplies: 1Last Post: 01-18-2008, 06:34 PM -
Locating the home interface
By Java Tip in forum Java TipReplies: 0Last Post: 12-28-2007, 10:42 AM -
How to make a web application as .exe file
By madhusudhangovindu in forum Advanced JavaReplies: 1Last Post: 08-02-2007, 03:58 PM -
log4j property file in my application
By Peter in forum Advanced JavaReplies: 3Last Post: 06-14-2007, 03:12 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks