GeeCON Prague 2014*
The moose likes Struts and the fly likes how to use ActionMessages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to use ActionMessages" Watch "how to use ActionMessages" New topic
Author

how to use ActionMessages

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

Hi

till now, i am using struts errors i.e, ActionErrors class for displaying action errors, and iam writing key and value pairs in ApplicationResources.properties, now the ActionErrors is to be replaced by ActionMessages. so If I use ActionMessages can I write key,value pairs in same ApplicationResources.properties or should I need to keep another file called MessageResources.properties.

please help

thanks in advance
santosh


santhosh<br />SCJP,SCWCD
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
you can use the same old ApplicationResources.properties . ActionError(s) extended ActionMessage(s) in the pre-1.2.x Struts.


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use ActionMessages