RE: Validation Frame work

2005-05-25 Thread Steve Kirk
. Bernhard -Ursprüngliche Nachricht- Von: Steve Kirk [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 24. Mai 2005 20:02 An: 'Tomcat Users List' Betreff: RE: Validation Frame work David is right, JS and serverside validation perform different roles. To expand on his

RE: Validation Frame work

2005-05-24 Thread Raghupathy,Gurumoorthy
This also does the validation on serverside and it is declarative rather than programatic :) It can be done in a single xml :) no need to write extra code :) html:errors/ does it all for the serverside :) Regards Guru -Original Message- From: raja buddha [mailto:[EMAIL PROTECTED]

Re: Validation Frame work

2005-05-24 Thread David Smith
Because you should never trust the client. They may not be submitting from your form. Javascript is just a nicety to save the user a whole request/response cycle just to find out a field is missing or wrong. Consider it a security issue. -- David raja buddha wrote: Hi all In struts why do

RE: Validation Frame work

2005-05-24 Thread Steve Kirk
. There are many others. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday 24 May 2005 16:19 To: Tomcat Users List Subject: Re: Validation Frame work Because you should never trust the client. They may not be submitting from your form. Javascript is just