You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Per Lövdinger <pe...@yahoo.se> on 2004/11/30 08:16:42 UTC

Validator outside Struts

Hi there,
I would like to try out Validator outside Struts.
I've got the initializion of validatorResources working.
Does anyone have sample-code for using the resources and calling the 
validator,extracting validationResult ?
thanks in advance


Re: Validator outside Struts

Posted by Matt Goodwin <mg...@metalexis.com>.
Take a look at the commons-validator project 
http://jakarta.apache.org/commons/validator.  Especially the javadocs 
description.  Download the source there is an example there.  It's 
actually real similar to using it within struts outside of how you have 
to initialize the resources which you've already done.  I am using it 
outside of struts so if you need another example let me know.

Matt


Per Lövdinger wrote:

>Hi there,
>I would like to try out Validator outside Struts.
>I've got the initializion of validatorResources working.
>Does anyone have sample-code for using the resources and calling the 
>validator,extracting validationResult ?
>thanks in advance
>
>
>  
>

-- 
Matt Goodwin
mgoodwin@metalexis.com
(515)708-0114
Metalexis
"Transcending the Ordinary"


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org