请问我的jsp为什么不能跳转,谢谢<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Untitled Document</title>
    </head>
    
    <body>
     <center>
         <%@ include file = "logo/logo.jsp"%><br />
         <form action="jsp/processLogin.jsp" method="post" name="login">
           <table width="300" border="0" cellspacing="2" cellpadding="1">
             <tr>
               <td width="100" align="center">账号:</td>
               <td width="200" align="left"><input type="text" name="account" id="textfield" /></td>
             </tr>
             <tr>
               <td width="100" align="center">密码:</td>
               <td width="200" align="left"><input type="password" name="password" id="textfield2" /></td>
             </tr>
           <tr>
               <td colspan="2" align="center"><input type="submit" name="button" id="button" value="登录" /></td>
              </tr>
           </table>
        </form><br />
            <%@ include file = "foot/foot.jsp"%>
        </center>
    </body>
</html>
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Untitled Document</title>
    </head>
    
    <body>
     <%!
     Connection con = null;
     PreparedStatement pst = null;
     ResultSet rs = null;
     %>
     <%
String account = (String)request.getParameter("account");
String password = (String)request.getParameter("password");

try {
Class.forName("com.mysql.jdbc.Driver");
//out.println("驱动连接成功");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/jcsc?user=root&password=password");
pst=con.prepareStatement("select * from login where name=? and pwd=?");
     rs=pst.executeQuery();
pst.setString(1,account);
pst.setString(2,password); 
rs = pst.executeQuery();
while (rs.next()) {
Cookie cookieName = new Cookie("account",account);
Cookie cookiePwd = new Cookie("password",password);
response.addCookie(cookieName);
response.addCookie(cookiePwd);
response.sendRedirect("..\\index.jsp"); 
} } catch(Exception e) {

} finally {
try {
rs.close();
pst.close();
con.close();
} catch(Exception ex) {

}
}
%>
    </body>
</html>