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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] and delete this mail. _____________________________________________________________________