File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Message resources

 
Meet Gaurav
Ranch Hand
Posts: 492
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Message resources is not working for me.. I tried with different scenario, Please assist us to resolve the issue

Added the file name is Strutsconfig.xml
<!-- Property File Loading -->
<message-resources parameter="MessageResources" null="false" />

My Action Form


Message resources copied to classes path also

prompt.customer.emailId = Email Id is required.
errors.required={0} is required.
emailed=Email Id


But am getting
???en_US. prompt.customer.emailId???
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that property isn't defined--what did you expect?
 
Meet Gaurav
Ranch Hand
Posts: 492
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the page am expecting Email Id is required

But am getting ???en_US. prompt.customer.emailId???


Am sorry
I added prompt.customer.emailId on the message properties
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic