This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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(

Here is my validation.xml files:

Here is the form in my jsp page:

And I added the following codes in
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 file?

If not, that's the problem.

Consultant, Sima Solutions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: validator...
jQuery in Action, 3rd edition