Got the answer from javaranch, and despite Erik's assertion it was something
to do with xdoclet I had to change, I had to add another merge file,
struts-plugins.xml (which is of course xdoclet specific) with the following
in it (which is struts specific):
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>
Edward
On 5/10/03 8:53 am, "Edward Kenworthy" <[EMAIL PROTECTED]> wrote:
> I'm using xdoclet to generate my struts config etc files and I'm having a
> problem.
>
> The symptom of the first one is 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.
>
> Loking 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
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user