2008/2/9, hardc0d3r <[EMAIL PROTECTED]>:
>
> in a form or action class, you can set an ActionError or ActionMessage. i am
> wondering if there is a way in jsp that i can know what error occurred in
> the validation. for example, the username field is left blank so i will add
> it to the errors. i want to be able to highlight that field so that the user
> can notice it immediately..

Use <html:messages>:
http://struts.apache.org/1.3.8/struts-taglib/tlddoc/html/messages.html

Antonio

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

Reply via email to