[thelist] Problem in uploading images

Sam sam at sam-i-am.com
Thu Sep 18 09:14:46 CDT 2003


HTML allows for a default value - but no browser that I know of supports 
it. It's a security feature.

Sam

Iroshan Sanjeewa wrote:
> Hi all,
>    I'm trying to upload image file using jspSmartUpload. But I want to uploaded file to have a default value. I'm using following code.
> 
> <FORM METHOD="POST" ACTION="/NASApp/test/Upload.jsp" ENCTYPE="multipart/form-data">
> 
>    <INPUT TYPE="FILE" NAME="FILE1" SIZE="50" value="E:\test\test.jpg"><BR>
>       
>    <INPUT TYPE="SUBMIT" VALUE="Upload">
> 
> 
> Eventhough I specify a VALUE it does not work.
> Can somebody tell me what's wrong here and how can I achieve this?
> 
> Thanks in advance.
> 
> iroshan
> 




More information about the thelist mailing list