<!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>