自己在数据库输入一个数据,拿这个数据来登录,登录不成功,就出现这些问题,我是新手,刚接触这个,不是很懂,哪位大佬帮忙看一下错误,谢谢!
Type Exception Report
Message An exception occurred processing JSP page /dengluchuli.jsp at line 37
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
34: if(quanxian.equals("用户")){
35:
36: String sql="select * from reg where username='"+username+"' and password='"+password+"'";
37: ResultSet rs=guanli.GetRs(sql);
38: if(rs.next()){
39:
40: //session.setAttribute("bianhao",""+rs.getString("bianhao")+"");