File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes loading properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "loading properties file" Watch "loading properties file" New topic
Author

loading properties file

Manisha reddy
Greenhorn

Joined: May 02, 2006
Posts: 16
can i know the different ways of loading the properties file?

Thanks in advance
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12911
    
    3

Different ways? Just do something like this:


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Sarath PS
Greenhorn

Joined: Oct 22, 2004
Posts: 11
put the props file in class path and try ,

Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456
check this out
Manisha reddy
Greenhorn

Joined: May 02, 2006
Posts: 16
Thanks a lot Jesper Young, Sarath PS ,Jan Groth for your responses
 
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: loading properties file
 
Similar Threads
where to put xml file so it gets built in ear
accessing resources from a jar file.
unbale to view xml file in browser
(NX:URLyBird)A question about properties files:
Will the Resource Bundle object loads property file into memory?