You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mehran Zonouzi <me...@db.com> on 2003/08/18 10:49:45 UTC

Using Struts validator framework outside of struts

Hi,

I am very new to the validator framework. I would like to use it outside of Struts framework. Is it possible to do this?
If so can someone point me in the right direction plz...

Thank you


--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



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


Re: Using Struts validator framework outside of struts

Posted by Jeff Kyser <kt...@comcast.net>.
The O'Reilly book 'Jakarta Struts' by Chuck Cavaness has a small section
on the subject starting on page 279 that might be of help. I've never 
tried
it though...

-jeff

On Monday, August 18, 2003, at 03:49  AM, Mehran Zonouzi wrote:

> Hi,
>
> I am very new to the validator framework. I would like to use it 
> outside of Struts framework. Is it possible to do this?
> If so can someone point me in the right direction plz...
>
> Thank you
>
>
> --
>
> This e-mail may contain confidential and/or privileged information. If 
> you are not the intended recipient (or have received this e-mail in 
> error) please notify the sender immediately and destroy this e-mail. 
> Any unauthorized copying, disclosure or distribution of the material 
> in this e-mail is strictly forbidden.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


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


Re: Using Struts validator framework outside of struts

Posted by David Graham <gr...@yahoo.com>.
--- Mehran Zonouzi <me...@db.com> wrote:
> Hi,
> 
> I am very new to the validator framework. I would like to use it outside
> of Struts framework. Is it possible to do this?
> If so can someone point me in the right direction plz...

Commons Validator is usable outside of Struts but you'll have to do a bit
more work to replicate what Struts does for you.  Commons Validator
provides some basic functionality that lets you build pluggable
validations.  However, it doesn't provide any pluggable validations out of
the box.  Also, you'll need to handle resource bundles and messaging
yourself.  Commons Validator exposes message keys and bundle names but you
need to do the lookup to get the actual message text.

David

> 
> Thank you
> 
> 
> --
> 
> This e-mail may contain confidential and/or privileged information. If
> you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and destroy this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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