Hi Todd,
I saw you post a message about how to resolve a struts _javascript validator problem. I'm a newbie at using Struts and bumped into the same problem now. Can I ask you a few question abotu this? I'd really appreciate it if you give me some guidance. Following is the answer you posted.
====================================================================
I figured out my problem, so I'm documenting it here in case others encounter the same problem. I was using the 1.0 DTD for the validation.xml and validator-rules.xml. After much searching, I finally found the DTD for 1.1.3 (at
http://jakarta.apache.org/commons/dtds/). Upgrading the DTD for these files and obtaining the validator-rules.xml from the most recent Struts sample application in the full source distribution fixed the problems and the _JavaScript validation works great now.
Todd Farmer
=============================================================
My question is
What do you mean when you said 'Upgrading the DTD for these files' ? Do you just modiedfied xml files or there is more?
Currently my validation.xml and validator-rules.xml files both have a line at the topper part.
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
Is that all I need or there's more? Do I need to download the validator_1_1_3.dtd file and do something about it?
Hope to hear from you soon. Thanks in advance.
-Paul