JSP:
<form id="fform" action="FileUploadServlet" method="post" enctype="multipart/form-data" target="_parent">
<table border="0" align="center">
<tr height="50">
<td class="fontstyle">上传文件:</td>
<td>
<input type="text" class="inputfile" id="file" size="40"> <input type="button" value="选 择.." class="inputfile" onClick="t_file.click()">
<input name="upload" type="file" id="t_file" οnchange="file.value=this.value" style="display:none">
</td>
</tr>
<tr height&#