aspose file tools
The moose likes Java in General and the fly likes file path Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "file path " Watch "file path " New topic
Author

file path

vinitha simon
Ranch Hand

Joined: Dec 13, 2007
Posts: 64
I have a properties file inside the following folder structure

project\folder1\file.properties

I have to load this properties file in page1.java which is in the following folder structure....

project\folder2\sub_folder1\sub_fol2\sub_fol3\sub_fol4\sub_fol5\sub_fol6\page1.java

how do I do this ?
Bill Johnston
Ranch Hand

Joined: Nov 17, 2005
Posts: 194

See this tutorial ... file:///C:/MyMoveSubDir/Mysendrecv/Billsdir/Java_info/properties.html


~Bill
Bill Johnston
Ranch Hand

Joined: Nov 17, 2005
Posts: 194
Originally posted by Bill Johnston:
[QB]
See this tutorial ...
Properties tutorial
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: file path
 
Similar Threads
How to access properties file from WEB-INF/ directory
path to load a file
path to load a file
location for log4j.properties for my EAR Application
how to retieve the keys and values from a propertyfile in an order