wood burning stoves 2.0*
The moose likes JSP and the fly likes Where should I place the property file in my webapps while using resource bundle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Where should I place the property file in my webapps while using resource bundle" Watch "Where should I place the property file in my webapps while using resource bundle" New topic
Author

Where should I place the property file in my webapps while using resource bundle

Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Hi All,
I want to use Resource Bundle file in my web pages in order to use resource Bundle. I don't know where do I place the property files in my web apps folder. anybody help me


Java Best Practices
Linux Best Practices
Amortization Calculator

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

paste the property files in the same directory where you write your java files, and refer them in the program by appropriate path, or you can use the relative path into your program source code.

Regards, Atul.
I came to this world on a Learner's License
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where should I place the property file in my webapps while using resource bundle
 
Similar Threads
Correct location of language properties bundle files
Can not find message resources under key org apache struts action MESSAGE
Resourcebundle can not be found!
property file dynamic vs static
Getting values from properties in validate-using multiple message-resources in struts