permaculture playing cards*
The moose likes Struts and the fly likes message-resources problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

message-resources problem

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
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 ]

SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Duplicate


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: message-resources problem