📄 login.jsp
字号:
<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="gb2312"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="JavaScript">
function denglu(){
document.formlogin.action="/GuestBook/Login";
document.formlogin.submit();
}
function zhuce(){
document.location.href="regist.jsp";
}
</script>
<title>Insert title here</title>
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:359px;
top:197px;
width:312px;
height:139px;
z-index:1;
}
body {
background-image: url(images/a3.jpg);
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<br>
<br>
<br>
<br>
<br>
<br>
<div id="Layer1" align="center" style="top: 96px; height: 154px; left: 337px; width: 342px;">
<form action="/GuestBook/Login" method="post" name="formlogin">
<table width="311" height="140" border="0" cellpadding="5" cellspacing="2">
<tr>
<th height="31" colspan="2" background="img/bg5_1.gif" scope="col">用户登陆</th>
</tr>
<tr>
<td height="29" align="right" valign="middle" background="img/bg5_4.gif"><div align="right">用户名: <br>
</div></td>
<td background="img/bg5_4.gif"><div align="left">
<input type="text" name="userName" align="left">
</div></td>
</tr>
<tr>
<td height="29" align="right" valign="middle" background="img/bg5_4.gif"><div align="right">密 码:</div></td>
<td background="img/bg5_4.gif"><div align="left">
<input type="password" name="password" align="left">
</div></td>
</tr>
<tr>
<td height="31" colspan="2" align="center" valign="middle" background="img/bg5_4.gif">
<input type="Submit" name="login" value="登陆" onClick="denglu()">
<input type="reset" name="rest" value="重填">
<input name="button" type="button" onClick="zhuce()" value="注册"> <input type="hidden" name="domethod" value="login"> </td>
</tr>
</table>
</form></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -