struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed" <dev4.j...@panamp.de>
Subject <htm-:errors> and struts:erros>
Date Mon, 03 Dec 2001 11:55:57 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message