一看就是login.jsp 这个页面有错误, 仔细看看
要不把这个页面贴出来看看

解决方案 »

  1.   

    这是login.jsp页面,帮忙指点一下吧
    <%@ page contentType="text/html;charset=gb2312" language="java" %>
    <html>
    <link href="css/a.css" rel="stylesheet" type="text/css">
      <head><title>登录</title>
      <style type="text/css">
    <!--
    .style1 {color: #000000}
    -->
      </style>
      </head>
       <script language="javascript">
      function check(){
      if(document.form1.accountId.value==""){
      alert("请输入用户帐号!");
      document.form1.accountId.focus();
      return false;
       }    
      if(document.form1.accountPwd.value==""){
      alert("请输入用户密码!");
      document.form1.accountPwd.focus();
      return false;
       }
      }
      </script>
    <body>
      <form method="post" name="form1" class="style1" onSubmit="return check();" action="do_login.jsp">
        <div align="center">
          <table width="750" height="573" border="0" background="images/login.jpg">
            <!--DWLayoutTable-->
            <tr>
              <td width="309" height="235"><!--DWLayoutEmptyCell-->&nbsp;</td>
              <td width="180">&nbsp;</td>
              <td width="247">&nbsp;</td>
            </tr>
            <tr>
              <td height="114">&nbsp;</td>
              <td valign="top"><table width="100%" height="98" border="0" cellpadding="0" cellspacing="0">
                <!--DWLayoutTable-->
                <tr>
                  <td width="42" height="29">帐号:</td>
                  <td width="138"><input name="accountId" type="text" id="accountId"></td>
                </tr>
                <tr>
                  <td height="34">密码:</td>
                  <td height="34"><input name="accountPwd" type="password" id="accountPwd"></td>
                </tr>
                <tr>
                  <td height="24">&nbsp;</td>
                  <td height="24"><input type="submit" name="Submit" value="==登录==" onClick="return check();"></td>
                </tr>
              </table></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td height="216">&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
        </div>
    </form>
    </body>
    </html>