用idea实现Javaweb登录页面
<%-- Created by IntelliJ IDEA. User: Tefuir Date: 2021/11/18 Time: 18:14 To change this template use File | Settings | File Templates. --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <title>ingister</title> </head> <body> <div style="test-align:center"> < action="/login" method="post" id="loginform"> 姓名:<input type="test" name="uname"> <br> 密码:<input type="password" name="upwd"><br> <span id="msg" style="font-size:12px;color:red"></span><br> <button type="button">登录</button> <button type="button">注册</button> </form>> </div>> </body> </html>