📄 index.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
prefix="logic"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
prefix="tiles"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-template"
prefix="template"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-nested"
prefix="nested"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
<head>
<html:base />
<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="my home page">
<link rel="stylesheet" type="text/css" href="style/style.css">
<script type="text/javascript">
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
</script>
</head>
<body>
<br>
<html:form action="/login.do?method=loginSys"
onsubmit="return validateForm1(this);">
<table width="350" border="0" align="center" cellpadding="5"
cellspacing="0">
<tr>
<td bgcolor="#F4F4F4" class="title">
+ LOGIN
</td>
<td>
</td>
</tr>
<tr>
<td class="grey">
<img src="images/warning.gif" width="16" height="16"
align="absmiddle">
输入用户和密码
</td>
</tr>
<tr>
<td align="right">
<input type="button"
style="background-image:url(images/register.gif);width:70px;height:21px;border:0;bgcolor:"
value=" "
onClick="MM_openBrWindow('./manager/userManager/regisiter.jsp','会员注册','width=900,height=650,top=80,left=50')" />
</td>
</tr>
<tr align="center">
<td class="title">
Username
</td>
</tr>
<tr align="center">
<td>
<html:text property="username"
style="background-image:url(images/username.gif);background-position: 1px 1px;background-repeat:no-repeat;padding-left:20px;height:20px;
FONT-SIZE: 12px;color:#ccc;border:solid 1px #999;"
onblur="if(this.value=='') {this.value='用户名';this.style.color='#ccc';}"
onfocus="if(this.value=='用户名') {this.value='';}this.style.color='#333';"
value="用户名"></html:text>
<html:errors property="username" />
</td>
</tr>
<tr>
<td></td>
</tr>
<tr align="center">
<td class="title">
Password
</td>
</tr>
<tr align="center">
<td>
<html:password property="password"
style="background-image:url(images/password.gif);
background-position: 1px 1px; background-repeat:no-repeat;
padding-left:20px; height:20px;FONT-SIZE: 12px; color:#ccc;border:solid 1px #999;"
onfocus="if(this.value=='用户密码') {this.value='';}this.style.color='#333';"
onblur="if(this.value=='') {this.value='用户密码';this.style.color='#ccc';}"
value="用户密码"></html:password>
<html:errors property="password" />
</td>
</tr>
<tr>
<td class="orange">
<a href="#">Get your Password ? </a>
</td>
</tr>
<tr>
<td align="right">
<html:submit
style="background-image:url(images/loginin.gif);width:70px;height:21px;border:0;bgcolor:"
value=" "></html:submit>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -