舒心板栗

文章
8
资源
0
加入时间
3年2月3天

javaweb-超市管理系统(修改密码+用户管理)

一.密码修改实现目标页面:从底层向上写,先编写Dao层,再编写Service层,最后编写Servlet层实现与前端jsp页面的通信。1.1修改密码的Dao层编写sql语句:update smbms_user set userPassword = ? where id = ??处的参数为password和id,调用BaseDao中的execute查询方法。public int updatePwd(Connection connection, int id, String password) thr