File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Extract resource file name fron struts-config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Extract resource file name fron struts-config" Watch "Extract resource file name fron struts-config" New topic
Author

Extract resource file name fron struts-config

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
I am using more than one message-resources in the struts-config. One is the Usual ApplicationResources and other if another properties file which I am refereing with a key bundle.resource. The file maaped to the bundle.resource changes with difference servers. I want to access the properies defined in this file in the Java code (not in JSP).

I can use the Property API provided by java. is there any way I can extract the name of the file associated with bundle.resource from struts-cinfig at runtime?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Extract resource file name fron struts-config
 
Similar Threads
multiple struts-confing file
servlet action is not available
Can i have multiple struts-config files in struts1.1
not able to run jsp's using struts
about struts-config file