You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Christopher Bare <ch...@yahoo.com> on 2003/07/21 18:25:56 UTC

html:form tag and coupling between ActionForm and Action

Hi,

Does anyone know why the "name" and "type" attributes
of the form tag are deprecated?

It seems to me that a tight coupling between a jsp and
it's associated ActionForm makes more sense than
coupling the ActionForm with the Action, which is the
consequence of the putting the "name" attribute in the
ActionMapping.

What if you want to write an Action that can service a
family of several different ActionForms??

Any help or insight would be appreciated. Thanks,

-Chris



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: html:form tag and coupling between ActionForm and Action

Posted by Alex Shneyderman <al...@law.columbia.edu>.

> What if you want to write an Action that can service a
> family of several different ActionForms??

You can do it. Just need to do it yourself (well sort of).

Alex.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org