解析JSP上传的EXCEL文件

来源:互联网 发布:网络安全入门知乎 编辑:程序博客网 时间:2024/06/06 00:26

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>&nbsp;</td> <td> &nbsp;</td> </tr> <tr> <td colspan="2" align="center"><input type="button" name="submit1" value=" 导 入 " onClick="importFile()" class="cssButtonFace"/></td> </tr> </table> </form>

原创粉丝点击