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 11658 invoked by uid 98); 2 Jan 2003 11:17:43 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 11639 invoked from network); 2 Jan 2003 11:17:41 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 2 Jan 2003 11:17:41 -0000 Received: (qmail 51248 invoked by uid 500); 2 Jan 2003 11:16:13 -0000 Received: (qmail 51225 invoked from network); 2 Jan 2003 11:16:12 -0000 Received: from mail1.crimsonlogic.com (HELO cronus.crimsonlogic.com) (210.56.134.80) by daedalus.apache.org with SMTP; 2 Jan 2003 11:16:12 -0000 Received: from SG01PVEXCH00.snshub.org ([172.29.8.14]) by cronus.crimsonlogic.com (8.12.4/8.12.4) with ESMTP id h02BGIqI000933 for ; Thu, 2 Jan 2003 19:16:18 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Help with Commons Validator Date: Thu, 2 Jan 2003 19:16:16 +0800 Message-ID: <0217CC82D9B9B347B9C0A7A27EFE38FB90F372@SG01PVEXCH00.snshub.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with Commons Validator Thread-Index: AcKmgHRZJceAisUGQlmGnml97T6MGQLz40BQ From: "Gilbert Tan" To: "Jakarta Commons Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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=20 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]=20 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=20 >request object in the servlet. >For example, I want to get the string tmp which is obtained in the >following way. >String tmp =3D request.getParameter("Name"); > You can always define new bean classes and create the beans from the=20 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: