String username=request.getParameter("username文本框name");
String password=request.getParameter("password文本框name");
这样就得到了用户名和密码参数了
"select * from userinfo where username='"+username+"' and password='"+password+"'";
就可以了
public class 人生历程 extends Thread{public void run(){while(true){努力,努力,再努力!!;Thread.sleep(0);}}}