spring mvc : servlet - post html form
This commit is contained in:
14
spring-mvc/servlet/src/main/webapp/basic/hello-form.html
Normal file
14
spring-mvc/servlet/src/main/webapp/basic/hello-form.html
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Title</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form action="/request-param" method="post">
|
||||||
|
username: <input type="text" name="username" />
|
||||||
|
age: <input type="text" name="age" />
|
||||||
|
<button type="submit">전송</button>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user