commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Turner" <tur...@blackbear.com>
Subject RE: Help with Commons Validator
Date Wed, 18 Dec 2002 05:40:44 GMT
> -----Original Message-----
> From: Gilbert Tan [mailto:GilbertTan@crimsonlogic.com] 
> Sent: Tuesday, December 17, 2002 2:08 AM
> To: Jakarta Commons Users List
> Subject: RE: Help with Commons Validator
> 
> 
> 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");
> 
> Can it be done using Validator?
> Thanks again.

The short answer is: no.  Validator (and most of JSP) is built around
the assumption that form data is populated into a bean somehow, such as
by using setProperties.

James



Mime
View raw message