We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a02175 commit 9bed870Copy full SHA for 9bed870
src/main/resources/templates/upload.html
@@ -4,7 +4,7 @@
4
5
<h3>file upload</h3>
6
7
-<form method="POST" action="upload" enctype="multipart/form-data">
+<form method="POST" th:action="upload" enctype="multipart/form-data">
8
<input type="file" name="file" /><br/><br/>
9
<input type="submit" value="Submit" />
10
</form>
src/main/resources/templates/uploadPic.html
<h3>file upload only picture</h3>
-<form method="POST" action="upload/picture" enctype="multipart/form-data">
+<form method="POST" th:action="@{upload/picture}" enctype="multipart/form-data">
0 commit comments