html页面主要代码为:
<table align="center" width="80%">
<div id="appNode" class="file"></div>
<form method="post" enctype="multipart/form-data" action="/ybsc/upload?action=upload" target="iframe">
<span id="fileNode">
<input name="file" type="file" class="input_mail" id="file"
style="width: 300px;" />
</span>
<input name="button" type="submit" id="button" value="上 传" class="button" />
</form>
</table>
<iframe style="display: none;" id="iframe" name="iframe"></iframe>
此为主要代码
源码及war包下载地址:http://download.csdn.net/detail/heardy/3825846
源码是以java作为后台进行文件的接收
效果预览图