You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Riyaz Mansoor <rm...@yahoo.com> on 2003/04/23 07:39:47 UTC
struts 1.1, 2 questions - help
hi
1) what is the name of the attribute that stores the ActionForm in the
request object? i need the form object for my custom tag.
2) would map-backed ActionForm support file upload ?
thanx
riyaz
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: struts 1.1, 2 questions - help
Posted by Affan Qureshi <qu...@etilize.com>.
>
> hi
>
> 1) what is the name of the attribute that stores the ActionForm in the
> request object? i need the form object for my custom tag.
The name you define in struts-config.xml.
For example the form bean in the following case:
<form-bean name="searchAccount"
type="com.etilize.cms.web.forms.AccountSearchForm" />
is stored in request/session under the attribute name "searchAccount"
> 2) would map-backed ActionForm support file upload ?
>
In a map-backed ActionForm its a property or two that are map-backed. You
can always add other properties that may not be. Just declare the additional
variables for File Upload as seen in the example.
> thanx
>
> riyaz
>
>
HTH.
Affan
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org