HttpClient client = new HttpClient();
PostMethod post = new PostMethod(url);
post.setRequestHeader("content-type", "application/x-www-form-urlencoded");
NameValuePair[] pare = new NameValuePair[]{new NameValuePair("class","FtpAgereementInfoCache")};
post.setRequestBody(pare);
client.executeMethod(post);
在另请求的jsp中用String[] className = request.getParameterValues("class");获取数据得到的是null,
不过有些门户可以收到,有些门户收不到。为什么????