Is this an opportunity to write annotation-driven validation instead? On Mon, May 19, 2008 at 7:26 AM, Arpan Debroy <[EMAIL PROTECTED]> wrote:
> As I have 4 buttons in each page, I dont want to write xml files for each > button. There will be so many xml files. > And all my requests come in one execute method in Action class and from > there depending on the request I m calling different methods.. > > On Mon, May 19, 2008 at 4:45 PM, Lukasz Lenart < > [EMAIL PROTECTED]> > wrote: > > > > > > > I have 4 buttons in one page and I have written one validaton xml file > > like > > > this :- > > > > > > action_class - validation.xml > > > > > > But for one specific button I want to skip validation process. > > > > > > Is there anybody know how to do that. > > > > > > > Do you have different methods for each button? If so prepare separated > xml > > files for each one you want to validate like below: > > > > ActionClass-method-validation.xml > > > > where method is the name from struts.xml (not the real method name in the > > action's class) > > > > or you can use @SkipValidation annotation for particular method; > > > > > > Regards > > -- > > Lukasz > > > > > > -- > Thanks & Regards > Arpan Debroy > > AOL Online India Private Ltd > RMZ EcoSpace Campus 1A > Outer Ring Road, Bellandur, > Bangalore - 560037 > India > Mobile No :+9886006306 > on-board :+91 (80) 4035 4528 > E-mail : [EMAIL PROTECTED] > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com