Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 32042 invoked from network); 13 Aug 2007 08:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2007 08:29:43 -0000 Received: (qmail 75271 invoked by uid 500); 13 Aug 2007 08:29:34 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 74683 invoked by uid 500); 13 Aug 2007 08:29:32 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 74666 invoked by uid 99); 13 Aug 2007 08:29:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 01:29:32 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [203.189.177.134] (HELO pcsspz.patni.com) (203.189.177.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 08:29:25 +0000 Received: from rakshak.patni.com ([172.19.1.64]) by pcsspz.patni.com (8.13.1/8.13.1) with SMTP id l7D8F8op029019 for ; Mon, 13 Aug 2007 13:45:12 +0530 Received: from spzha1.patni.com ([192.168.0.6]) by rakshak.patni.com (SMSSMTP 4.1.11.41) with SMTP id M2007081314072229222 for ; Mon, 13 Aug 2007 14:07:22 +0530 Received: from pcp42115 ([192.168.0.254]) (authenticated bits=0) by spzha1.patni.com (8.13.4/8.12.9) with ESMTP id l7D8Mrhg013592 for ; Mon, 13 Aug 2007 13:52:56 +0530 Message-Id: <200708130822.l7D8Mrhg013592@spzha1.patni.com> From: "Prashant Baviskar" To: "'Struts Users Mailing List'" Subject: RE: Use of Struts Validation outside struts framework Date: Mon, 13 Aug 2007 13:58:51 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_005D_01C7DDB2.145720C0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcfdfC+9e2uKGnxBRpK7ZOtFamNL/gABtvVQ X-Scanned-By: MIMEDefang 2.43 X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_005D_01C7DDB2.145720C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Paulus, I have to populate an ActionForms object first which happens in struts after submitting form. & then struts validation does it's work before calling the execute method. I want to do the same explicitely. Can you tell me the class which reads struts-config.xml, in which we add validator plug-in OR The classes from Struts source which helps to perform validation in struts, responsible for reading validation.xml , validator-rules.xml Thanks & regards Prashant -----Original Message----- From: paulus.benedictus@gmail.com [mailto:paulus.benedictus@gmail.com] On Behalf Of Paul Benedict Sent: Monday, August 13, 2007 1:08 PM To: Struts Users Mailing List Subject: Re: Use of Struts Validation outside struts framework You will have to populate an ActionForm object, for the Validator requires that. On 8/13/07, Prashant Baviskar wrote: > > Hi, > > I have validation.xml & validator-rules.xml & many other validation rules > files in my existing struts application. > > I have other desktop application which has same fields like forms in the > struts application. > > I want to make use of above files (validation.xml, validator-rules.xml, > other validation files) > > for validating same fields using Struts Validation framework > > How can I use these files for validation. > > Please help > > > > --Thanks & Regards > > Prashant Baviskar > > > > > http://www.patni.com > World-Wide Partnerships. World-Class Solutions. > _____________________________________________________________________ > > This e-mail message may contain proprietary, confidential or legally > privileged information for the sole use of the person or entity to > whom this message was originally addressed. Any review, e-transmission > dissemination or other use of or taking of any action in reliance upon > this information by persons or entities other than the intended > recipient is prohibited. If you have received this e-mail in error > kindly delete this e-mail from your records. If it appears that this > mail has been forwarded to you without proper authority, please notify > us immediately at netadmin@patni.com and delete this mail. > _____________________________________________________________________ > http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@patni.com and delete this mail. _____________________________________________________________________ ------=_NextPart_000_005D_01C7DDB2.145720C0--