This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes loading properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "loading properties file" Watch "loading properties file" New topic

loading properties file

Manisha reddy

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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14961

Different ways? Just do something like this:

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Sarath PS

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

Joined: May 02, 2006
Posts: 16
Thanks a lot Jesper Young, Sarath PS ,Jan Groth for your responses
I agree. Here's the link:
subject: loading properties file
jQuery in Action, 3rd edition