liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
<title>Login Form</title>
<link type="text/css" href="login/login_style.css" rel="stylesheet" />
</head>
 
<body>
    <div class="login">
        <h1>Login</h1>
        <form action="login.action"  id="loginForm" method="post">
            <input type="text" id="j_username" name="j_username" placeholder="用户名" required="required"/>
            <input type="password" name="j_password" id="j_password" placeholder="密码" required="required"/>
            <button type="submit" class="btn btn-primary btn-block btn-large">登陆</button>
        </form>
    </div>
</body></html>