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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]] 
> 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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail: 
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
<mailto:[EMAIL PROTECTED]>
> 

> ForwardSourceID:NT0009DCAA 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to