index.html
570 字节
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>图片上传</title>
<script src="http://cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>
<form action="/upload/upLoadDoc?name=1" method="post" enctype="multipart/form-data">
<input type="file" name="file"/>
<input type="text" value="1212" name="class" >
<input type="submit" value="ok"/>
</form>
</body>
</html>