<snip>
Avoid Javascript the way a politician avoids a lie detector
</snip>

bit redundant mate - you can already tell they're lying because their lips move... no detector required ;-)

Jim Barrows wrote:

-----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]




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



Reply via email to