On 11/29/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
Hello,
I have the need to do some form validations, but the site in question
is not running Struts, nor WW or any framework. :-(
It is an older site and I have been commissioned to do some validtion
within it. I was hoping that the Validator that comes with Struts may
be able to work as a stand-alone entity.
I am having trouble finding info on the validator that is not linked
directly with struts. Is this info available, and if so where?
You can use Validator outside Struts, although I haven't actually used
the "framework" side of validator in that way. If it was just
"validation routines" you wanted, rather than the framework side then
Commons Validator has this:
http://tinyurl.com/eahub
If you want to use the framework side then theres info here:
http://tinyurl.com/ymrjy2
http://wiki.apache.org/jakarta-commons/Validator
Theres also an example in the source distro, but you'll have to use
ant to build it yourself
http://wiki.apache.org/jakarta-commons/ValidatorStandalone
Also its worth taking a look at the validator tests (in the source
distro) as they pretty much do "standalone validator".
Niall
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]