upload_file.ftl 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE HTML>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>文件上传案例</title>
  9. </head>
  10. <body>
  11. <div class="page-header"></div>
  12. <div class="container main wrapper">
  13. <center>
  14. <h3>文件上传</h3>
  15. <form enctype="multipart/form-data" method="post" action="/upload">
  16. DataType:<input type="text" name="dataType" /><br/>
  17. ProjectId:<input type="text" name="projectId" /><br/>
  18. 选择文件:<input type="file" name="file1" /><br/>
  19. <!--
  20. 选择文件:<input type="file" name="file2" /><br/>
  21. 选择文件:<input type="file" name="file3" /><br/>
  22. 选择文件:<input type="file" name="file4" /><br/>
  23. 选择文件:<input type="file" name="file5" /><br/>
  24. -->
  25. <input type="submit" value="上传" />
  26. </form>
  27. </center>
  28. </div><!-- #main -->
  29. </body>
  30. </html>