- <!DOCTYPE html>
- <html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="UTF-8">
- <title>welcome login</title>
- </head>
- <body>
- <h1>欢迎进入登录界面</h1>
- <p style="color: red;" th:text="${session.msg}"></p>
- <form action="/login" method="post">
- 用户名:<input type="text" value="" name="username"><br>
- 密码:<input type="password" value="" name="password"><br>
- <button type="submit">登录</button>
- </form>
- </body>
- </html>
|