Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 43724 invoked from network); 3 Feb 2004 15:04:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Feb 2004 15:04:53 -0000 Received: (qmail 28245 invoked by uid 500); 3 Feb 2004 15:04:07 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 28207 invoked by uid 500); 3 Feb 2004 15:04:07 -0000 Mailing-List: contact struts-user-help@jakarta.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 struts-user@jakarta.apache.org Received: (qmail 28176 invoked from network); 3 Feb 2004 15:04:06 -0000 Received: from unknown (HELO rpaore1.cgey.com) (198.184.232.36) by daedalus.apache.org with SMTP; 3 Feb 2004 15:04:06 -0000 Received: from smtp2.cgey.com (nautilus [194.3.224.79]) by rpaore1.cgey.com (8.12.1-20030919/8.12.6) with ESMTP id i13F44B4015464 for ; Tue, 3 Feb 2004 16:04:04 +0100 (MET) Received: from avgwint (avgwint.capgemini.com.sg [10.64.0.29]) by smtp2.cgey.com (8.12.6-P1SecurityCVT.prescan-patch.parse8.359.2.8/8.12.6) with ESMTP id i13ExuhT023618 for ; Tue, 3 Feb 2004 15:59:57 +0100 (MET) Received: from exsgp11.capgemini.com.sg ([10.64.0.15]) by avgwint with InterScan Messaging Security Suite; Tue, 03 Feb 2004 23:10:45 +0800 Received: by exsgp11.capgemini.com.sg with Internet Mail Service (5.5.2653.19) id ; Tue, 3 Feb 2004 23:09:13 +0800 Message-ID: <8F1AE52435C67D40944C289891293A7C0497B99D@ntbomex001> From: "Duggal, Sanjay" To: struts-user@jakarta.apache.org Subject: Using Validator To Avoid Database Trip Date: Tue, 3 Feb 2004 23:03:59 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi All, I have an "Edit Existing Record" screen. When the user clicks the Save button on this screen, I'm supposed to store the changed data in the database. However there may be a situation where the user leaves the data unchanged & still presses the Save button. In this case, I want to avoid the database trip. Can I achieve this using the Validator framework? Thanks. Sanjay ____________________________________________________ This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst & Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorised to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org