很急```希望大家帮忙``分不多是个意思```
这段时间自己在摸索做一个BLOG..遇到上传图片到服务器的问题.
想了半天.不知道怎么才能将本地的图片传到服务器上保存```
请各位帮忙```````
------解决方案-------------------- <html>
<head>
<title> 文件上传 </title>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
</head>
<body>
<p> </p>
<p align= "center "> 上传文件选择 </p>
<FORM METHOD= "POST " ACTION= "jsp/do_upload.jsp "
ENCTYPE= "multipart/form-data ">
<input type= "hidden " name= "TEST " value= "good ">
<table width= "75% " border= "1 " align= "center ">
<tr>
<td> <div align= "center "> 1、
<input type= "FILE " name= "FILE1 " size= "30 ">
</div> </td>
</tr>
<tr>
<td> <div align= "center "> 2、
<input type= "FILE " name= "FILE2 " size= "30 ">
</div> </td>
</tr>
<tr>
<td> <div align= "center "> 3、
<input type= "FILE " name= "FILE3 " size= "30 ">
</div> </td>
</tr>
<tr>
<td> <div align= "center "> 4、
<input type= "FILE " name= "FILE4 " size= "30 ">
</div> </td>
</tr>
<tr>
<td> <div align= "center ">
<input type= "submit " name= "Submit " value= "上传它! ">
</div> </td>
</tr>
</table>
</FORM>
</body>
</html>