<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Insert title here</title>
</head>
<body>
<form action="http://localhost:8089/file/upload" method="POST" enctype="multipart/form-data">
    <p>单文件上传：</p><br/>
    <input type="file" name="file1"/>
    <input type="submit" value = "上传"/>
</form>
<form method="POST" enctype="multipart/form-data" 
    action="http://localhost:8089/file/batch/upload">
    <p>多文件上传：</p>
    <p>文件1：<input type="file" name="file" /></p>
    <p>文件2：<input type="file" name="file" /></p>
    <p><input type="submit" value="上传" /></p>
</form>
<a href="http://localhost:8089/file/download/5.jpg">下载</a>
</body>
</html>