Yes I know. Probably my question was wrong. Can I use the <html:errors/> tag with some <html:present></html:present> tags? like
<html:present properties="errors"> Do Some stuff for errors. </html:present> -----Ursprüngliche Nachricht----- Von: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 11. Juli 2002 14:31 An: 'Struts Users Mailing List' Betreff: RE: html:errors Hey, This kinda depends on what errors you are looking for. If you are using automatic form validation, then make the validate() method simply return an ActionErrors object with any error messages. If there are no errors, return null or an empty ActionErrors. Struts will automatically take the user to the input page defined in struts-config. On that page, just use an <html:errors/> tag. If there were no errors, nothing will be displayed. If there were errors, they are displayed there. It's pretty simple, another one of those things that struts handles automatically. ~ Keith http://www.buffalo.edu/~kkamholz -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:17 AM To: [EMAIL PROTECTED] Subject: html:errors How do I check on the jsp if some error occured? If an error occured I wanna display a Dialog with the errormessages inside when the page gets reloaded. ---------------------------------------------------------------------------- ---------------- Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon: +49-841-9014-300 Marie-Curie-Strasse 6 Fax: +49-841-9014-302 D- 85055 Ingolstadt mailto:[EMAIL PROTECTED] ---------------------------------------------------------------------------- ---------------- -- 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>