Files
hellogithub/web/upload.jsp
2023-07-06 18:07:44 +08:00

20 lines
711 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<title>文件上传</title>
</head>
<body>
<%request.setCharacterEncoding("UTF-8");%>
<form action="${pageContext.request.contextPath}/UploadHandle" 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>
<body> <br>
<input id="btnCancel" class="btn" type="button" value="下载页" onclick="window.location='../FileUploadAndDownLoad/servlet/ListFileServlet'" />
</body>
</html>