<%@ 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>
|