You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohammed <de...@panamp.de> on 2001/12/03 12:55:57 UTC

and struts:erros>

Hello every body,

in my action class I insert an error as follow:

errors.add("registration", new ActionError("error.registration.failed");
saveErrors(request,errors);


in the jsp file :

<html:erros>  //to get the errors displayed
how can I get only the error for a given action? or a given key?

I tried <html:errors property=registration >  // registration is the key
under which I saved the error
         </htnl:errors>   but it didn't work


Thanks for any help


Mohammed



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>