其他分享
首页 > 其他分享> > jsp第四次

jsp第四次

作者:互联网

<%--
  Created by IntelliJ IDEA.
  User: Dell
  Date: 2021/3/27
  Time: 19:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            width: 160px;
            height: 36px;
            background-color: #f40;
            line-height: 36px;
            text-align: center;
            color: #fff;
            font-size: 16px;
            margin: 30px auto;
            cursor: pointer;
            -webkit-user-select: none; /*禁止用户选中文字*/
        }
    </style>
</head>
<body>
  <form action="<%= request.getContextPath()%>/servlet/UserServlet" method="post" >
   用户名:<input type="text" name="uname"/>
    <br>
   密码:<input type="password"  name="password"/>
    <br>
    验证码:<input  type="text" name="checkCode"/>
    <a href="javascript:reloadCode();">
      <img alt="验证码" id="imagecode" src="<%= request.getContextPath()%>/servlet/ImageServlet"/>
      看不清楚</a><br>
    <input type="submit" value="登录">
  </form>
  </body>


</html>

 

标签:Title,color,text,36px,height,jsp,servlet,第四次
来源: https://www.cnblogs.com/zxp-0101/p/14589435.html