Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What is the difference between required and requiredstring validator classes
Joined: Sep 24, 2009
Dec 13, 2010 01:09:01
What is the difference between
validator classes while using them for validating form fields?
I am slow but sure
Joined: Aug 03, 2008
Dec 13, 2010 08:20:30
only checks that the request parameter exists i.e. its not null. It will allow empty value but the
required string validator
checks that the parameter is not only present, but its value should not be blank...
SCJP 6 | SCWCD 5 |
Javaranch SCJP FAQ
subject: What is the difference between required and requiredstring validator classes
difference validation ,validator-rules
error in validation
short-circuit attribute not working in validation file
struts2 radio button validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013