that is true....if u want to use server side validation you can specify that in the struts-config.html something like this <action path="/Action" name="FormToBeValidated" validate="true" <----------- set true here parameter="function" input="somepage.jsp" <--- goes to this page if validation fails /> if you want to use javascript too....with the same setup (validation.xml, validator-rules.xml) u can add the <html:javascript/> tag to your jsp and it will show u the errors....there are also <html:messages /> , u can check out the info at husted.com/struts site hope this helps amit
Rodrigo Oliveira <[EMAIL PROTECTED]> wrote: The validation.xml you put the rules for client and server validation. The struts validator validate your forms based on same validation rules. []īs Rodrigo Oliveira [EMAIL PROTECTED] ----- Original Message ----- From: To: Sent: Tuesday, June 01, 2004 5:15 PM Subject: validator.xml usage > Is the validator.xml just for client-side validation? Or also for > server-side validation > > > --- > > Thanks... > > Mick Knutson > > > > 525 Market Street, SF, CA 94103 > > (415) 222-1020 > > [EMAIL PROTECTED] > > MAC A0103-223 > --- > > > > --------------------------------------------------------------------- > 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] --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger