This may not be a direct Struts question. But I hope to get the response from here ...
In using the file upload, which is <FORM name=frmGroup ACTION="" METHOD="POST" ENCTYPE="multipart/form-data" onsubmit="return false;">, I would like to set a default value for the file name. However, I cannot find a way to accomplish this. These are the approaches I tried;
<input type="FILE" name="F0" size=35 value="aa" class="propertyDetail"> <br>
or
function setDefaultName(){
document.frmGroup.F0.value="c:\\temp";
}
I am using IE 5. I was told that for the security reason, the browser does not allow you to do this. I would like to confirm on that.
Thanks for your help,
Zhiyong Li
Platform Development
iBiomatics LLC , a SAS Company
(919) 653-2746
[EMAIL PROTECTED]

