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

message-resources problem

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi, I'm having trouble with my error messages. Can there only be one message-resources entry in struts-config.xml? After adding a second message-resources entry, all my error messages disappeared. My error messages are stored in MessageResources.properties. I tried to make another message-resources entry for internationalization/localization purpose. I tried to add another MessageResources copy which is MessageResources_en_US but I still can't my error messages appear again... Here are my struts-config entries. Please help... Thanks!


<message-resources parameter="errors.MessageResources"/>
<message-resources parameter="language.ApplicationResources"/>
[ July 18, 2006: Message edited by: Timothy Sam ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Report post to moderator
Duplicate
 
    Bookmark Topic Watch Topic
  • New Topic