I'm using xdoclet to generate my struts config etc files and I'm having a problem. The symptom is that when I click on the action (foo.do) link on my page it goes straight to the success page - no sign of the input page. Looking at the server logs I note these three things happen, in this order: 1. The action form's constructor is called. 2. "org.apache.commons.validator.ValidatorException: Resources not defined for Validator" is thrown. 3. The action's execute method is called. Validator.xml is in the web-inf directory of my war. Can anyone give me a pointer to what I should check here ? Is this one error, or two unrelated ones do you think ? Thanks in advance Edward
I assume you are using struts1.1. I dont know how validator works for struts1.0 If you have your validation.xml in your web-inf folder, do you have an entry for validation plug-in entry in your struts-config.xml file like this?
posted 16 years ago
Ahha! Of course, thankyou. And that explains my other problem, the input tag depends on the validator framework working. Thanks, Edward
Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop