日期:2014-05-17 浏览次数:20771 次
<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="<%=path %>/css/main.css">
</head>
<body class="bodycss" onload="javascript:document.getElementById('j_username').focus();">
<form name="f" action="${pageContext.request.contextPath}/j_spring_security_check" method="post">
<p style="color: red;">
${sessionScope.SPRING_SECURITY_LAST_EXCEPTION.message }
</p>
<h3>请登录</h3>
<hr/>
<br/>
<table >
<tr>
<td style="width:60px;">
<label>用户名</label></td>
<td>
<input type="text" style="width:155px;" name='j_username' title="请输入用户名" placeholder="请输入用户名">
</td>
</tr>
<tr>
<td style="width:60px;">
<label>密码</label>
</td>
<td>
<input style="width:155px;" type="password" name='j_password' title="请输入密码" placeholder="请输入密码">
</td>
</tr>
<tr>
<td colspan="2">
<input type='checkbox' name='_spring_security_remember_me' />
两周内不需要登录(请不要再公共网络上勾选此项)。
</td>
</tr>
<tr>
<td>
<input type="submit" value="登 录" />
</td>
<td>
<input type="button" value="重 置" onclick="javascript:window.document.f.j_username='';window.document.f.j_password='';" />
</td>
</tr>
</table>
</form>
</body>
</html>