📄 login.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="/jsp/_plugin/taglib.jsp"%>
<html>
<head>
<title>登录</title>
<xt:style />
<xt:meta />
<xt:js />
<script language="javascript">
if (window.top.location.href != document.location.href) {
window.top.location.href = document.location.href;
}
onload = function () {
document.all.username.focus();
}
</script>
</head>
<body>
<table border="0" width="100%" height="90%">
<xt:form action="/Login" actionMethod="login" target="_top">
<tr>
<th>
<table border="0" cellspacing="1" cellpadding="5" bgcolor="#CCCCCC">
<col width="400">
<col width="50">
<col width="180">
<col width="30">
<tr bgcolor="#FFFFFF">
<th rowspan="4">
<img src="<%=request.getContextPath()%>/images/cc.jpg" width="400" height="105" border="0">
</th>
<th style="font-size: 18px;" colspan="2" bgcolor="#EEEEEE">登 录</th>
</tr>
<tr bgcolor="#FFFFFF">
<th align="right">用户名</th>
<th align="left"><xt:text property="username" prompt="用户名" width="150" nul="false"/></th>
</tr>
<tr bgcolor="#FFFFFF">
<th align="right">密码</th>
<th align="left"><xt:password property="password" prompt="密码" width="150" nul="false"/></th>
</tr>
<tr bgcolor="#FFFFFF">
<th align="right">风格</th>
<th align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td>
<xt:select property="style" prompt="风格"><option value="/style/default.jsp">默认</option></xt:select>
<script language="javascript">document.all.style.options[0] = null;</script>
</td><td align="right">
<button type="submit" onclick="return submitForm(this.form, true);"> 登 录 </button>
</td></tr></table>
</th>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="5" width="670">
<tr><td> </td></tr>
<tr><td align="right" style="font-size:12px;color:999999;">
版权所有 © <a href="#" style="font-size:12px;color:999999;" target="_blank">author:zhangyueming</a>
</td></tr>
</table>
</th>
</tr>
</xt:form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -