This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to use ActionMessages" Watch "how to use ActionMessages" New topic

how to use ActionMessages

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156


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

please help

thanks in advance

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

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

-/a<br />certified slacker...yes, my last name is 'do' - <a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: how to use ActionMessages
It's not a secret anymore!