jQuery in Action, 3rd edition
The moose likes Struts and the fly likes validator... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validator..." Watch "validator..." New topic



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:
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.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.

Consultant, Sima Solutions
I agree. Here's the link: http://aspose.com/file-tools
subject: validator...
It's not a secret anymore!