Meaningless Drivel is fun!*
The moose likes Struts and the fly likes How to know about MessageResources.properties file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to know about MessageResources.properties file?" Watch "How to know about MessageResources.properties file?" New topic
Author

How to know about MessageResources.properties file?

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

How can I be assured that my application is getting MessageResources.properties file residing in WEB-INF directory from an Action class?

Actually in my application MessageResources.properties file is under WEB-INF directory, and in my-struts-config.xml file it configured as below.


But I think application is not getting it from Action class.


Thanks in Advance,
Kousik
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Put a known value in the resource file and display it?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1



[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
 
subject: How to know about MessageResources.properties file?