javaEEday04-Web入门-HTTP协议-服务端协议解析演示

This commit is contained in:
2026-05-07 11:32:45 +08:00
parent cd52a49a39
commit e86256959b
5 changed files with 178 additions and 1 deletions

View File

@@ -1 +1,2 @@
spring.application.name=springboot-web-quickstart
spring.application.name=springboot-web-quickstart
server.port=8083

View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>请求方式演示-GET-POST</title>
</head>
<body>
<form action="" method="get">
姓 名: <input type="text" name="name"> <br>
密 码: <input type="password" name="password"><br>
<input type="submit" value="提交表单GET"><br>
</form>
<br><br><br>
<form action="" method="post">
姓 名: <input type="text" name="name"> <br>
密 码: <input type="password" name="password"><br>
<input type="submit" value="提交表单POST"><br>
</form>
</body>
</html>