Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 64460 invoked from network); 30 Dec 2004 05:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Dec 2004 05:25:52 -0000 Received: (qmail 42994 invoked by uid 500); 30 Dec 2004 05:24:58 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 42929 invoked by uid 500); 30 Dec 2004 05:24:58 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 42868 invoked by uid 99); 30 Dec 2004 05:24:57 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of andrew.david.hill@gridnode.com designates 202.83.97.26 as permitted sender) Received: from s-97-26.dsl.cleardatavoice.com (HELO gridnode.com) (202.83.97.26) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 29 Dec 2004 21:24:54 -0800 Received: from [127.0.0.1] ([192.168.213.69]) (authenticated bits=0) by gridnode.com (8.12.9/8.12.4) with ESMTP id iBU3V0GQ027562 for ; Thu, 30 Dec 2004 11:31:00 +0800 Message-ID: <41D37650.3020805@gridnode.com> Date: Thu, 30 Dec 2004 11:30:24 +0800 From: Andrew Hill Reply-To: andrew.david.hill@gridnode.com User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Which methodology is better? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Avoid Javascript the way a politician avoids a lie detector 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:manisha_msathe@yahoo.com] >>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: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org