Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!

Kiran Jakkaraju

Greenhorn
+ Follow
since Jun 05, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kiran Jakkaraju

hi

please tell me which is the best struts plugin for eclipse

please give me URL how to get that..

thanks
kiran
14 years ago
Hi,

If you have "MyResources.properties",

and the above file has


"KEY_WORD= xyz"

To retrieve the KEY_WORD in your java file is:

//initiate the Resource Bundle, and get the properties file.
ResourceBundle myResources =
ResourceBundle.getBundle("MyResources");

//get the keyword
myResources.getString("KEY_WORD")
14 years ago