JSP页代码:
<form action="import.htm" method="post" name="form1" id="form1" enctype="multipart/form-data"> <table width="64%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="right"> 文件: </td> <td> <input type="file" name="uploadedFile" id="uploadedFile" value=""/>* </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td colspan="2" align="center"><input type="button" name="submit1" value=" 导 入 " onClick="importFile()" class="cssButtonFace"/></td> </tr> </table> </form>