<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文件上传</title>
</head>
<body>
	<form th:action="@{/upload}" enctype="multipart/form-data" th:method="post">
		上传文件:<input type="file" name = "file">
		<input type="submit" value="提交">
	</form>
	<form th:action="@{/upload}" enctype="multipart/form-data" th:method="post">
		上传文件:<input type="file" name = "file2">
		<input type="submit" value="提交">
	</form>
	<a th:href="@{/download}">下载文件</a>
</body>
</html>

  

posted on 2019-07-11 17:44  lazyli  阅读(352)  评论(0编辑  收藏  举报