struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed" <>
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");

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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message