or you can do this: in the Validation:
errors.add(new ActionError("topForm","app.resource.str")); //for the top form errors.add(new ActionError("bottomForm","app.resource.str")); //for the bottom form in JSP: <html:errors property="topForm"/> //put above topForm <html:errors property="bottomForm"/> //put above bottomForm got it? Henrique Viecili ----- Original Message ----- From: "MARU, SOHIL (SBCSI)" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 3:29 PM Subject: RE: Displaying Error Message on Top Put the html:errors tag above the first form only at top. -----Original Message----- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 1:27 PM To: [EMAIL PROTECTED] Subject: Displaying Error Message on Top Hi I hv defined separate form for top(xyzForm) and body(xyzForm) of my jsp page and both are of the same form (XyzForm) and I hv a single action class(XyzAction) for both the form and I'm validating both form fields(top and body) is there anyway I can display error message belongs to top on top of the jsp page instead of displaying on top of body? Any help would be appreciated. Thank you, Ramadoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]