Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-09-2007, 05:00 PM
Rem Rem is offline
Member
 
Join Date: Nov 2007
Posts: 1
Rem is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem In Web Application sharfi JavaServer Pages (JSP) and JSTL 0 04-16-2008 11:36 AM
Problem locating resources on Linux. jimm1 New To Java 1 01-18-2008 07:34 PM
Locating the home interface Java Tip Java Tips 0 12-28-2007 11:42 AM
How to make a web application as .exe file madhusudhangovindu Advanced Java 1 08-02-2007 04:58 PM
log4j property file in my application Peter Advanced Java 3 06-14-2007 04:12 AM


All times are GMT +3. The time now is 02:39 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org