qq_36734182 2019-06-05 21:56 采纳率: 0%
浏览 425

HTTP Status 500 – Internal Server Error

自己在数据库输入一个数据,拿这个数据来登录,登录不成功,就出现这些问题,我是新手,刚接触这个,不是很懂,哪位大佬帮忙看一下错误,谢谢!
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")+"");

  • 写回答

3条回答 默认 最新

  • 小肥的胖 2019-06-05 22:16
    关注

    ResultSet rs=guanli.GetRs(sql);

    感觉GetRs这里面出了问题,可以try catch 看看

    评论

报告相同问题?

悬赏问题

  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型