日常Java 2021/11/18

用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>

 

上一篇:ASP.NET是如何在IIS下工作的


下一篇:Java学习之JavaWeb中缺省的Servlet的奥秘