Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to get data from global resource using key attribute

 
shukla raghav
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok i got it it was eclipse issue..i refreshed and it worked fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic