With struts 1.1b, the only way it will instantiate a bean for a form
correctly is if the bean actually extends ActionForm? The jsp works
fine on my JRun server running the old release of struts.
Im seeing that only my forms with specialized ActionForms seem to work
correctly with 1.1b; and its
; From: Jacob Hookom <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: Struts 1.1b1 HTML:Form
>
> With struts 1.1b, the only way it will instantiate a bean for a
ssage-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 12:06 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.1b1 HTML:Form
It is correct to say that all of the automatic Struts machinery for form
beans only works if your bean is a subclass of ActionForm.
On Mon, 1 Jul 2002, Jacob Hookom wrote:
> Date: Mon, 1 Jul 2002 12:32:11 -0500
> From: Jacob Hookom <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE
The change you are running into is that in 1.1 the html:form tag now
calls the reset() method. That was not the case in 1.0 so the bean type
wasn't as important.
But, if your "legacy" JavaBeans and ActionForms share the same property
names (or "protocol"), you can use those beans to write the fo
5 matches
Mail list logo