0
点赞
收藏
分享

微信扫一扫

jsp新代码第207课

_阿瑶 2022-05-10 阅读 163


new207.java

package pack03;

public class new207
{
private String userName = null;
private String userPwd = null;
public String getUserName()
{
return userName;
}
public void setUserName(String userName)
{
this.userName = userName;
}
public String getUserPwd()
{
return userPwd;
}
public void setUserPwd(String userPwd)
{
this.userPwd = userPwd;
}

public new207()
{

}

public new207(String username,String userpwd)
{
super();
this.userName = username;
this.userPwd = userpwd;
}

public boolean login()
{
String sql = "select * from user_b where uname=? and upassword=?";
String[] params = new String[] {this.userName,this.userPwd};
return new new208().doLogin(sql, params);
}
}


举报

相关推荐

jsp新代码第232课

jsp新代码第193课

jsp新代码第237课

jsp新代码第202课

jsp新代码第195课

jsp新代码第199课

0 条评论