修复论坛空白输入,上传文件未完成

This commit is contained in:
FJY
2017-11-18 20:28:08 +08:00
parent 6ed6a77b0e
commit a303f56e12
47 changed files with 1699 additions and 615 deletions

16
WebRoot/upload.jsp Normal file
View File

@@ -0,0 +1,16 @@
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<title>文件上传</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/servlet/UploadHandleServlet" enctype="multipart/form-data" method="post">
上传用户:<input type="text" name="username"><br/>
上传文件1<input type="file" name="file1"><br/>
上传文件2<input type="file" name="file2"><br/>
<input type="submit" value="提交">
</form>
</body>
</html>