JAVA-用HttpClient来模拟浏览器GET,POST[转]
模拟登录页面login.jsp->main.jsp PostMethod post=new PostMethod("/main.jsp");NameValuePair name=new NameValuePair("name","ld");NameValuePair pass=new NameValuePair("password","ld");post.setRequestBody(new NameValuePair[]{...