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 Unable to get data from global resource using key attribute 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 » Frameworks » Struts
Bookmark "Unable to get data from global resource using key attribute" Watch "Unable to get data from global resource using key attribute" New topic
Author

Unable to get data from global resource using key attribute

shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 200
I am unable to get data from global-messages.properties i.e. global resource.

here is the path i have put my property files in eclipse.

WebContent/WEB-INF/classes ---- struts.properties
WebContent/WEB-INF/classes ---- global-messages.properties

struts.properties



global-messages.properties



jsp file accessing global-messages.properties



But the jsp when rendered still shows the labels as "username" and "password". I am using eclipse.




shukla raghav
Ranch Hand

Joined: Aug 03, 2008
Posts: 200
Ok i got it it was eclipse issue..i refreshed and it worked fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get data from global resource using key attribute
 
Similar Threads
hi
@Resource injection not working for DataSource
Resource bundle properties file in Spring MVC
Unable to find setter method for attribute: locale
How to implement j_security_check