This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes specifying resource in application/web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "specifying resource in application/web.xml" Watch "specifying resource in application/web.xml" New topic
Author

specifying resource in application/web.xml

yashendra chandrakar
Greenhorn

Joined: Mar 22, 2002
Posts: 22
Hi All,
In my j2ee application,i have created a properties file,most of the classes uses this properties file through ResourceBundle,so i need to hard code this file name in all of the classes,can it be specified in application.xml so that these hardcode can be removed.....?
Thanks
Yashendra
 
Don't get me started about those stupid light bulbs.
 
subject: specifying resource in application/web.xml
 
Similar Threads
Where to configure the Resource bundles/properties files
Reading properties file problem
how to move db info from servlet into a config.properties file?
read properties file from jar
different classpath for context