You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Antony Paul <an...@gmail.com> on 2004/10/12 16:18:35 UTC

[OT]Setting default value for form input type

Hi,
   Is there any way to set the default value for the file field when
the form is loaded ?.

rgds
Antony Paul

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


Re: [OT]Setting default value for form input type

Posted by Ben Souther <bs...@fwdco.com>.
No, browsers won't allow that.

Picture what kind of files a malicious page could grab off of your
machine with a hidden form if they did.




On Tue, 2004-10-12 at 10:18, Antony Paul wrote:
> Hi,
>    Is there any way to set the default value for the file field when
> the form is loaded ?.
> 
> rgds
> Antony Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


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