commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject RE: Help with Commons Validator
Date Thu, 02 Jan 2003 11:19:15 GMT
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" <GilbertTan@crimsonlogic.com> 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:
> <mailto:commons-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:commons-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail: 
<mailto:commons-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:commons-user-help@jakarta.apache.org>
> 

> ForwardSourceID:NT0009DCAA 

Mime
View raw message