zoukankan      html  css  js  c++  java
  • 2017.10.20 jsp用户登陆界面连接数据库

    用户登陆界面

    <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
    <%@page contentType="text/html"  import="java.sql.*" %>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>
        <base href="<%=basePath%>">
        
        <title>用户登录界面</title>
        
    	<meta http-equiv="pragma" content="no-cache">
    	<meta http-equiv="cache-control" content="no-cache">
    	<meta http-equiv="expires" content="0">    
    	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    	<meta http-equiv="description" content="This is my page">
    	<!--
    	<link rel="stylesheet" type="text/css" href="styles.css">
    	-->
    
      </head>
      
      <body>
        <h1 align="center">用户登录</h1>
        <hr>
        <form action="Test.jsp" method="post">
        	<p align="center">
    				请输入学号:<input type="text" name="userSno"><br/>
    				请输入密码:<input type="password" name="userPassword"><br/>
    				 <br/>
    				<input type="submit" value="提交" name="B1">
    				<input type="reset" value="取消" name="B2"> <a href="Signup.jsp">立即注册</a><br/>
    				
        </form>
      </body>
    </html>
    
  • 相关阅读:
    Hibernate 与 mybatis 区别
    Struts2 核心流程
    java 面试 -- 4
    无线电日记 2
    ham 无线电笔记
    Our Deepest Fear
    随笔
    GSM学习笔记
    网络时代的悲哀:微软百科全书
    [转载]arm交叉编译器gnueabi、none-eabi、arm-eabi、gnueabihf、gnueabi区别
  • 原文地址:https://www.cnblogs.com/qichunlin/p/7702048.html
Copyright © 2011-2022 走看看