zoukankan      html  css  js  c++  java
  • Javaweb实训-宠物医院-社区宠物医院登陆页面

            <%--  
          Created by IntelliJ IDEA.  
          User: Administrator  
          Date: 2018/3/13  
          Time: 8:44  
          To change this template use File | Settings | File Templates.  
        --%>  
        <%--<%@ page contentType="text/html;charset=UTF-8" language="java" %>--%>  
        <%--<html>--%>  
          <%--<head>--%>  
            <%--<title>$Title$</title>--%>  
          <%--</head>--%>  
          <%--<body>--%>  
          <%--<h1><%out.println("Hello World");%></h1>--%>  
          <%--<h2><%out.println("Welcome To JSP World");%></h2>--%>  
          <%--</body>--%>  
        <%--</html>--%>  
          
        <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>  
        <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
          
        <html>  
        <head>  
          <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
          <title>登录页面</title>  
          <link href="styles.css" rel="stylesheet"/>  
        </head>  
        <body>  
        <div>  
          <div id="header">  
            <h1>社区宠物诊所</h1>  
          </div>  
          <div id="main">  
            <form action="LoginServlet" method="post">  
              <table>  
                <tr>  
                  <td>姓名</td>  
                  <td><input name="username" /></td>  
                </tr>  
                <tr>  
                  <td>密码</td>  
                  <td><input  type="password" name="pwd"/></td>  
                </tr>  
                <tr>  
                  <td>验证码</td>  
                  <td><input name="usercode" /></td>  
                </tr>  
                <tr>  
                  <td>点击刷新</td>  
                  <!-- 为了避免IE的缓存bug  需要每次请求带上不一样的参数 这个参数可以没有任何意义  关键是要不一样 -->  
                  <td><img src="CheckCode"   onclick="this.src='CheckCode?rand='+Math.random()"/></td><!-- /在html和转发Dispatcher里面的含义不同  前者表示服务器根目录  8080:/   后者表示当前应用根目录 8080/ph/ -->  
                </tr>  
                <tr>  
                  <td></td>  
                  <td><input  type="submit" value="登录" /> <input type="reset" value="重置"/></td>  
                </tr>  
              </table>  
          
            </form>  
            <h4><%=request.getAttribute("msg")==null?"":request.getAttribute("msg") %>  
              <%=request.getParameter("para")==null?"":request.getParameter("para") %></h4>  
          </div>  
          <div id="footer">  
          
          </div>  
        </div>  
        </body>  
        </html>  
  • 相关阅读:
    pandas 读取excle ,迭代
    prettytable模块(格式化打印内容)
    Python开发丨这些面试题会不会难倒你
    python开发最受欢迎的十款工具
    语言组成
    运算符优先级
    Python 位运算符 逻辑运算符 成员运算符
    **算术运算符
    **Python数据类型转换
    字符串-数字-列表(转换)
  • 原文地址:https://www.cnblogs.com/Black-YeJing/p/9131131.html
Copyright © 2011-2022 走看看