index.jsp

来自「本系统是基于Struts+Hibernate开发的一套后台管理系统」· JSP 代码 · 共 50 行

JSP
50
字号
<%@ page language="java" contentType="text/html; charset=GBK"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
 
<html> 
	<head>
	    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title><bean:message key="system.background.title"/></title>
		<link href="../css/common.css" rel="stylesheet" type="text/css">
	</head>
	<body>
	<br><br>
	<table width="400" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" align="center">
	  <html:form action="/admin/userLogin">
	  <tr align="center"> 
	    <td colspan="2"><bean:message key="message.loginFrame"/></td>
	  </tr>
	  <tr bgcolor="#FFFFFF"> 
	    <td width="29%"><bean:message key="message.loginUser"/>:</td>
	    <td width="71%"><html:text property="account"/><html:errors property="account"/></td>
	  </tr>
	  <tr bgcolor="#FFFFFF"> 
	    <td><bean:message key="message.loginPwd"/>:</td>
	    <td><html:password property="passwd"/><html:errors property="passwd"/></td>
	  </tr>
	  <tr bgcolor="#FFFFFF"> 
	    <td colspan="2" align="center">
	    <logic:present name="LoginTips" scope="request">
	      <div>
	        <bean:message key="message.login.status"/>
	        <bean:write name="LoginTips" property="tipsInfo"/>
	      </div>
	    </logic:present><br>
		<html:submit>
		  <bean:message key="message.login"/>
		</html:submit>
		<html:reset>
		  <bean:message key="button.reset.value"/>
		</html:reset>
	    </td>
	  </tr>
	  </html:form>
	</table>
	</body>
</html>
<script language="javascript">
window.userLoginForm.account.focus();
</script>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?