Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to load .properties file outside the application as resource bundle?

843840Sep 28 2007 — edited Oct 1 2007
How can I load .properties file outside the application as resource bundle?

The idea is that the properties file is located somewhere outside of the WAR and can be anywhere in the filesystem. It is also not included in the classpath.

The final design is to use <fmt:message> JSTL tag, but so far I found out that I can use only bundles which are referenced via the classpath.

Any suggestions?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2007
Added on Sep 28 2007
6 comments
368 views