📄 login.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>login.jsp</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="styles.css">
-->
</head>
<body>
<BR><BR><BR><BR>
<div align="center"><b><bean:message key="admin.login.title1"/></b></div>
<html:form action="/login.do" method="post" focus="login">
<table width="500" align="center" style="BORDER-left: #8080FF 2px solid; BORDER-top: #8080FF 2px solid;BORDER-bottom: #8080FF 2px solid; BORDER-right: #8080FF 2px solid;">
<tr>
<td width="20%" align="center"><bean:message key="admin.login.title2"/></td>
<td width="80%"><html:text property="admin" size="15" /> <font size="2" color="#FF0000"><html:errors property="admin.login.name.error" /></font></td>
</tr>
<tr>
<td align="center"><bean:message key="admin.login.title3"/></td>
<td><html:password property="password" size="20" /> <font size="2" color="#FF0000"><html:errors property="admin.login.password.error" /></font></td>
</tr>
<tr>
<td align="center"><bean:message key="admin.login.validateCode"/></td>
<td><html:text property="validateCode" size="5" /> <img border=0 src="image.jsp">
<font size="2" color="#FF0000"> <html:errors property="admin.login.validateCode.error" /></font>
</td>
</tr>
<tr>
<td colspan="2" align="center"><html:submit value="登陆" /> <html:reset value="重置" /></td>
</tr>
</table>
<div align="center">
系统设计:酷酷的鱼 QQ:18634950
</div>
<div align="center">
<font color="#FF0000"><html:errors property="validateCode.error"/></font>
</div>
<div align="center">
<html:errors property="db.error"/>
</div>
<div align="center">
<font color="#FF0000"><html:messages id="messages" message="true">
<bean:write name="messages"/>
</html:messages></font>
</div>
<div align="center">
<font color="#FF0000"><html:errors property="admin.login.name.unallowed" /></font>
</div>
<div align="center">
<font color="#FF0000"><html:errors property="admin.login.password.unallowed" /></font>
</div>
<div align="center">
<font color="#FF0000"><html:errors property="admin.login.validateCode.unallowed" /></font>
</div>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -