Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 19th, 2008, 04:02 AM
Registered User
Join Date: Aug 2008
Location: , , Finland.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Standalone validation + web form validation


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").
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Validation Help jonsey Javascript 0 April 25th, 2007 08:14 AM
Form Validation ricespn Classic ASP Basics 3 October 19th, 2006 11:38 AM
Form Validation Stanny Access VBA 5 December 20th, 2005 08:13 PM
Form Validation HammR Beginning PHP 3 July 21st, 2004 07:17 AM

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

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