An error occurred at line: 11 in the jsp file: /login.jsp
Password cannot be resolved to a variable
8: Connection con=DriverManager.getConnection(url,user,pw);
9: Statement stmt=con.createStatement();
10: String sql;ResultSet rs=null;
11: sql="select * from student where SID='"+SID+"' and Password='"+Password+"'";
12: //out.println(sql);
13: //out.close();
14: rs=stmt.executeQuery(sql);