Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 12488 invoked by uid 98); 2 Jan 2003 11:19:40 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 12468 invoked from network); 2 Jan 2003 11:19:38 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 2 Jan 2003 11:19:38 -0000 Received: (qmail 52322 invoked by uid 500); 2 Jan 2003 11:18:10 -0000 Received: (qmail 52315 invoked from network); 2 Jan 2003 11:18:09 -0000 Received: from unknown (HELO gateway.multitask.com.au) (203.41.143.113) by daedalus.apache.org with SMTP; 2 Jan 2003 11:18:09 -0000 In-Reply-To: <0217CC82D9B9B347B9C0A7A27EFE38FB90F372@SG01PVEXCH00.snshub.org> To: "Jakarta Commons Users List" Subject: RE: Help with Commons Validator MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0 September 26, 2002 From: dion@multitask.com.au Message-ID: Date: Thu, 2 Jan 2003 22:19:15 +1100 X-MIMETrack: Serialize by Router on gateway/Multitask Consulting/AU(Release 5.0.8 |June 18, 2001) at 01/02/2003 10:19:17 PM, Serialize complete at 01/02/2003 10:19:17 PM Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If this is for Struts, we use a DynaValidatorForm to do this. -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au "Gilbert Tan" wrote on 02/01/2003 10:16:16 PM: > Hi, > > I am trying to implement input validation for a large number of > different applications. > So if I have to go through each one of them to create a new JavaBean > class for each form that I > come across, it will be a nightmare. > Any idea how to solve this in a easier manner? > Thanks for any suggestions. > > Gilbert Tan > > > -----Original Message----- > From: Jerome Lacoste @ BBC [mailto:lacostejbbc@altern.org] > Sent: Wednesday, December 18, 2002 6:29 PM > To: Jakarta Commons Users List > Subject: Re: Help with Commons Validator > > > Gilbert Tan wrote: > > >Sorry for the confusion. > >What I mean is that I want to validate all the parameters of the > >request object in the servlet. > >For example, I want to get the string tmp which is obtained in the > >following way. > >String tmp = request.getParameter("Name"); > > > You can always define new bean classes and create the beans from the > requests. I don't see the problem. > Just more code. That's all. It will see integrate with your app. > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > ForwardSourceID:NT0009DCAA