⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.jsp.svn-base

📁 Struts+Hibernate实现MVC
💻 SVN-BASE
字号:
<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="../../include/include.jsp"%>
<html>
  <head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/pub.css">
    <script>if(self!=top){top.location=self.location;} </script>
    <script>
      function checkform() {
        if(adminUserActionForm.loginName.value.length<4) {
          window.alert("<bean:message key="admin.login.name.limit"/>");
          adminUserActionForm.loginName.focus();
          return false;
        }
        if(adminUserActionForm.password.value.length<4 || adminUserActionForm.password.value.length>15) {
          window.alert("<bean:message key="admin.login.password.limit"/>");
          adminUserActionForm.password.focus();
          return false;
        }
        return true;
      }
    </script>
  </head>
  <body>
    <table width="100%"  height="100%">
      <tr>
        <td align=center height="35%"><font size=4><b><bean:message key="admin.login.view.title"/></b></font></td>
      </tr>
      <tr>
        <td align=center height="65%" valign="top">
          <table width="250" bgcolor="#6DB1DE" cellpadding="8" cellspacing="1">
            <html:form action="adminUserAction" onsubmit="return checkform();">
              <input type="hidden" name="method" value="loginResult">
              <tr>
                <td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.login.name"/>:</td>
                <td bgcolor="white"><html:text property="loginName" size="20" maxlength="20" /></td>
              </tr>
              <tr>
                <td align="right" bgcolor="#EFF8FF" class="ajc3"><bean:message key="admin.login.password"/>:</td>
                <td bgcolor="white"><html:password property="password" size="20" maxlength="15" /></td>
              </tr>
              <tr>
                <td colspan=2 align=center bgcolor="white"><input type="submit" value="<bean:message key="admin.login.submit"/>"></td>
              </tr>
            </html:form>
          </table>
        </td>
      </tr>
    </table>
  </body>
</html>

⌨️ 快捷键说明

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