File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
I agree. Here's the link:
subject: What is the difference between required and requiredstring validator classes
difference validation ,validator-rules
error in validation
struts2 radio button validation
short-circuit attribute not working in validation file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014