阅读背景:

复习_文件上传_sp_wxf的博客

来源:互联网 

1.案例

1.upload.jsp

<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
    <form action="/DynamicWebProject_war_exploded/uploadServlet" method="post" enctype="multipart/form-data">
      用户名: <input type="text" name="username" /><br>
      头像:<input type="file" name="photo"><br>
      <button>上传</button>
    </form>
  </body>
</html>
<html>
  <head>
  



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: