Hi Erik,

Probably a good idea to read people's postings before replying then. Nowhere
in my posting did I "blame" xdoclet. I had a problem, asked for help and got
a smart-arsed worthless response from you.

Edward


On 6/10/03 11:54 pm, "Erik Hatcher" <[EMAIL PROTECTED]> wrote:

> Well technically speaking it wasn't an XDoclet "problem" though.  Don't
> blame XDoclet for a mistake in your generated configuration file :)
> One of the first rules when doing code generation is to fully
> understand the underlying technology/configuration before adding
> generation to the mix.  Had you had a working Struts site going before
> adding XDoclet, you would have had a valid configuration file to
> compare against and seen the issue right away.
> 
> Erik
> 
> On Monday, October 6, 2003, at 02:16  PM, Edward Kenworthy wrote:
> 
>> 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
> 
> 
> 
> -------------------------------------------------------
> 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

Reply via email to