Hubert was correct.

The problem was a wrong value to the "type" attribute of the <form-beans>
element.
The type or className attributes of a <form-beans> tag is an ActionFormBean.
An ActionFormBean is used to store definitions of Forms.
It is not an ActionForm itself.

I guess Digester's message "parameter type mismatch" was correct, assuming
that it is complaining that a FormBean should not be used for <form-beans>.
(It would have been better if it made it clearer, though).



-----Original Message-----
From: Hubert Rabago [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 07, 2005 5:13 PM
To: Struts Users Mailing List
Subject: Re: Struts-config.xml Digester endElement problem


This is what I think could be causing your problem:

>    <!-- ========== Form Bean Definitions ===================== -->
>    <form-beans type = "gov.bls.cpi.sms.webApp.SmsForm">
>       <form-bean name="smsForm"     type="gov.bls.cpi.sms.webApp.SmsForm">
>       </form-bean>

The type of class you pass for the "type" of "form-beans" is different from
the one you pass to "type" of an individual "form-bean".  You're using the
same class for these; that would cause you problems somewhere, and could be
what you're seeing now.

Hubert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to