When you are talking about action messages it is not a hash map with a key.
It is a simple Collection. ActionSupport has a method
getActionMessages() that returns this string collection.
Field errors are a different matter. These come through as a Map>. You get that map through getFieldErrors
Take a look at using Enunciate with Struts2.
http://enunciate.codehaus.org/
http://docs.codehaus.org/display/ENUNCIATE/A+Rich+Web+service+API+for+Struts+2
-D
jayakumar ala wrote:
>
> I don't understand why i should look into IBM site.? I am asking with
> respect to struts what i should do i
2 matches
Mail list logo