> -----Original Message-----
> From: Manisha Sathe [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 29, 2004 12:44 AM
> To: user@struts.apache.org
> Subject: Which methodology is better?
> 
> 
> I am very used to HTML/JavaScript. Normally i do all 
> validations on clientside through JavaScript.
>  
> i just started Struts framework and i understand that 
> "DynaActionForm" is to have validation on cliend side. (till 
> now using ActionForm only).
>  
> Normally what is the practice ? Which way is better ?

Don't ever trust the client side.  I can cobble up a web page with no 
validation and submit it to your site faster then you can say 
PeterPiperPickedAPeckOfPickledPeppers 5 times fast.
In general, leave nothing on the web page unless you absolutely have to.  Avoid 
Javascript the way a politician avoids a lie detector.  It will save you a lot 
of heartache in the long run.


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

Reply via email to