| Author |
validator...
|
jetrin
Greenhorn
Joined: Aug 12, 2006
Posts: 3
|
|
Hello all, I'm using NetBeans 5.0 with Struts 1.2.7 And when I tried to use Validator, I got this error message: java.lang.NullPointerException at org.apache.commons.validator.ValidatorResources.internalProcessForms(ValidatorResources.java:464) Here is my validation.xml files: Here is the form in my jsp page: And I added the following codes in ApplicationResource.properties: AddressForm.name=Name AddressForm.address=Address AddressForm.emailAddress=E-mail address Can somebody please help me with this? Thanks before!
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
Do you also have the entry: errors.required={0} is required. in your ApplicationResources.properties file? If not, that's the problem.
|
Merrill
Consultant, Sima Solutions
|
 |
 |
|
|
subject: validator...
|
|
|