commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilbert Tan" <>
Subject RE: Help with Commons Validator
Date Thu, 02 Jan 2003 11:16:16 GMT

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 [] 
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:

View raw message