Skip to content

Commit 7b806f8

Browse files
committed
[html] using a relative path to the 'action'
1 parent 27f5043 commit 7b806f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Choose file to upload<br>
2-
<form action="http://localhost:8080/FileUploader/rest/upload" method="post" enctype="multipart/form-data">
2+
<!-- <form action="http://localhost:8080/FileUploader/rest/upload" method="post" enctype="multipart/form-data"> -->
3+
<form action="rest/upload" method="post" enctype="multipart/form-data">
34
<input name="file" id="filename" type="file" /><br><br>
45
<button name="submit" type="submit">Upload</button>
56
</form>

0 commit comments

Comments
 (0)