Hi,

get the validator-package from David Winterfeldt and use the validators 
error-tags. That did the trick for me.

regards
Alexander Jesse

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 12:56 PM
To: [EMAIL PROTECTED]
Subject: <htm-:errors> 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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to