p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Struts (http://p2p.wrox.com/forumdisplay.php?f=211)
-   -   Standalone validation + web form validation (http://p2p.wrox.com/showthread.php?t=70128)

morbo August 19th, 2008 04:02 AM

Standalone validation + web form validation
 
Hi,

I'm currently investigating, whether it is possible to have one set of simple validation rules (as in, required/isInt etc) which could then be used to:

1) validate input from Struts forms
2) validate input from other sources, such as from an EJB?

I have Struts 1.1 using commons-validator 1.0.2 at my disposal.

So far I have been able to create separate validations for cases 1 & 2, but I would like to just use one set of rules and possibly the standard validators (e.g. "required").


All times are GMT -4. The time now is 01:56 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.