upload.html 974 B

12345678910111213141516171819
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
  3. <head>
  4. <meta charset="UTF-8"/>
  5. <title>zheng-oss-web AliyunOSS demo</title>
  6. </head>
  7. <body>
  8. <form action="http://shuzheng.oss-cn-shanghai.aliyuncs.com" method="post" enctype="multipart/form-data">
  9. <p>key : <input type="text" name="key" th:value="${policy.dir + '/${filename}'}"/></p>
  10. <p>policy : <input type="text" name="policy" th:value="${policy.policy}"/></p>
  11. <p>OSSAccessKeyId : <input type="text" name="OSSAccessKeyId" th:value="${policy.OSSAccessKeyId}"/></p>
  12. <p>success_action_status : <input type="text" name="success_action_status" value="200"/></p>
  13. <p>callback : <input type="text" name="callback" th:value="${policy.callback}"/></p>
  14. <p>signature : <input type="text" name="signature" th:value="${policy.signature}"/></p>
  15. <p>file : <input type="file" name="file"/></p>
  16. <p><input type="submit" value="上传"/></p>
  17. </form>
  18. </body>
  19. </html>