commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Middlebrook, Barry" <>
Subject [validator] Usage page is useless
Date Tue, 20 Aug 2013 20:25:33 GMT
This kind of narrative does not provide the kind of detail necessary to create a quick implementation.
It's useless:
In order to use the Validator, the following basic steps are required:
Create a new instance of the org.apache.commons.validator.Validator class. Currently Validator
instances may be safely reused if the current ValidatorResources are the same, as long as
you have completed any previous validation, and you do not try to utilize a particular Validator
instance from more than one thread at a time.
Add any resources needed to perform the validations, such as the JavaBean to validate.
Call the validate method on org.apache.commons.validator.Validator.
Would someone be so kind as to provide everyone a simple code example? Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message