文件名称:点餐系统半成品,只有登陆功能
文件大小:1.34MB
文件格式:RAR
更新时间:2021-06-23 10:02:58
登录
半成品,各种bug,要奔溃了,实现了简单的增删改查。 String phone=""; String password=""; phone=request.getParameter("phone"); password=request.getParameter("password"); String sql="Select Cu_Id from Customer Where Cu_Id='"+phone+"'";//查询名字 String sql1="Select Cu_PassWord from Customer Where Cu_PassWord='"+password+"'";//查询密码 //连接数据库 ResultSet rs = connDB.executeQuery(sql); ResultSet rs1 = connDB.executeQuery(sql1); if (rs.next() && rs1.next()) { request.getRequestDispatcher("CuDetails.jsp").forward(request, response); } else { request.getRequestDispatcher("fail.jsp").forward(request, response); }
【文件预览】:
dgndcxt
----image()
--------Shuizy.jpg(202KB)
--------Huangmj.jpg(106KB)
----src()
--------db()
----.idea()
--------dataSources.xml(1KB)
--------misc.xml(275B)
--------modules.xml(254B)
--------compiler.xml(263B)
--------workspace.xml(58KB)
--------dataSources.local.xml(1KB)
--------artifacts()
--------inspectionProfiles()
--------dataSources()
----dgndcxt.iml(1021B)
----out()
--------production()
--------artifacts()
----web()
--------Check.jsp(1005B)
--------index.jsp(431B)
--------CuDetails.jsp(797B)
--------register_set.jsp(784B)
--------register.jsp(929B)
--------Login.jsp(797B)
--------fail.jsp(366B)