You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mageshwaran <ma...@dhyanit.com> on 2009/03/04 14:53:43 UTC
Struts2, file tag, setting value
Hi All,
I am using *<s:file name="uploadFile" label="File"> *tag for
uploading a file in JSP.
Is there any *value attribute* for this tag?
If present, is it possible set a default value to this tag so that this
file path is set on loading the page first time.
Thanks in advance,
Magesh.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Struts2, file tag, setting value
Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Hi!
I believe setting the path of a file input is prohibited for security
reasons, so that probably won't work.
Nils-H
On Wed, Mar 4, 2009 at 2:53 PM, Mageshwaran <ma...@dhyanit.com> wrote:
> Hi All,
> I am using *<s:file name="uploadFile" label="File"> *tag for uploading a
> file in JSP.
>
> Is there any *value attribute* for this tag?
> If present, is it possible set a default value to this tag so that this
> file path is set on loading the page first time.
>
> Thanks in advance,
> Magesh.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org