ftpclient和servlet调用

ftpclient见附件

HttpClient client = new HttpClient();
HttpMethod method = new GetMetho("http://192.168.2.11/LCCCDealServlet?batchNo=" + batchNo);
client.executeMethod(method);
System.out.println(method.getResponseBodyAsString());
method.releaseConnection();
return true;

你可能感兴趣的:(servlet)