?? login.jsp
字號:
<%@ page language="java" contentType="text/html; charset=gbk"
pageEncoding="gbk"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Insert title here</title>
</head>
<body>
<body>
<html:form action="/loginAction.do" method="post" focus="username" target="_top">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<logic:present name="failure">
<td height="23" background="images/main01.jpg"> </td>
</logic:present>
<logic:notPresent name="failure">
<td height="23" background="../images/main01.jpg"> </td>
</logic:notPresent>
<logic:present name="failure">
<td width="933" height="23" background="images/main03.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
</logic:present>
<logic:notPresent name="failure">
<td width="933" height="23" background="../images/main03.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
</logic:notPresent>
<tr>
<logic:present name="failure">
<td width="3%"><img src="images/coin.gif" width="19" height="19" /></td>
</logic:present>
<logic:notPresent name="failure">
<td width="3%"><img src="../images/coin.gif" width="19" height="19" /></td>
</logic:notPresent>
<td width="88%" height="25"><strong><span class="STYLE1"><bean:message key="login"/></span></strong></td>
<td width="9%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
</table></td>
</tr>
</table></td>
<logic:present name="failure">
<td width="12"><img src="images/main02.jpg" width="12" height="25" /></td>
</logic:present>
<logic:notPresent name="failure">
<td width="12"><img src="../images/main02.jpg" width="12" height="25" /></td>
</logic:notPresent>
</tr>
<tr>
<logic:present name="failure">
<td height="400" colspan="3" background="images/bbb.jpg" bgcolor="#FFFFFF"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
</logic:present>
<logic:notPresent name="failure">
<td height="400" colspan="3" background="../images/bbb.jpg" bgcolor="#FFFFFF"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
</logic:notPresent>
</table>
<table width="675" height="282" border="0" align="center">
<tr>
<th colspan="1" scope="col"><span class="STYLE2"><bean:message key="label.login.tips"/></span></th>
</tr>
<tr>
<td colspan="2"><bean:message key="label.login.username"/>:
<html:text property="username" value=""/></td>
</tr>
<tr>
<td colspan="2"><bean:message key="label.login.password"/>:
<html:password property="password" value=""/></td>
</tr>
<tr>
<td width="328"><html:submit><bean:message key="login"/></html:submit></td>
</tr>
<tr>
<td>
<html:messages id="message" message="true">
<font color="#FF0000">
<bean:write name="message"/>
</font>
</html:messages>
</td>
</tr>
</table>
</html:form>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -