login.jsp

来自「软件工程设计--图书管理系统」· JSP 代码 · 共 68 行

JSP
68
字号

<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ 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" %>
<html:html>
<head>
<title>
<bean:message key="jsp.user.login.title"/>
</title>
</head>
<body bgcolor="#ffffff">
<center>
<TABLE cellSpacing=0 cellPadding=0 width=866 align=center border=0>
  <TBODY>
  <TR>
    <TD colSpan=2 height=16><IMG height=92 src="images/logo.jpg" 
      width=224><IMG height=92  src="images/logo1.jpg" width=643 border=0></TD></TR>
  </TBODY>
  </TABLE>
  </center>
  <br><br>
  <br>
<center >
<h1>
<bean:message key="jsp.user.login.title"/>
</h1>
<html:form action="UsersLoginAction.do" method="post">
<table >
    <tr>
      <td>        <bean:message key="jsp.user.login.username"/>
        <html:text property="users_Name"></html:text><font color="red"><html:errors property="nameerr"/></font>
      </td>
    </tr>
    <tr>
      <td>        <bean:message key="jsp.user.login.userpwd"/>
        <html:password property="users_Pwd"/><font color="red"><html:errors property="pwderr"/></font>
      </td>
    </tr>
    <tr>
      <td>
        <html:submit property="Submit"><bean:message key="jsp.user.login.loginbut"/></html:submit>
        <html:reset><bean:message key="jsp.user.login.rebut"/></html:reset>
        <html:link href="#" onclick="javascript:window.open('reg.jsp');"><bean:message key="jsp.user.login.reg"/></html:link>
      </td>
    </tr>
  </table>
  
</html:form>
<br>
<br><br>
<br><br>
<br><br><br><br><br><br><br><br><br>
</center>
<center>
<TABLE cellSpacing=0 cellPadding=0 width=866 align=center border=0>
  <TBODY>
  <TR>
    <TD colSpan=2 height=16><IMG height=92 src="images/button.jpg" 
      width=866></TD></TR>
  </TBODY>
  </TABLE>
  </center>

</body>
</html:html>

⌨️ 快捷键说明

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