HttpClient client = new HttpClient();
byte[] bytes = null;
if (this.charset != null) {
bytes = client.doPost(this.url, params, this.charset);
} else {
bytes = client.doPost(this.url, params);
}
resp.getOutputStream().write(bytes);
} catch (HttpException e) {
throw new ServletException(e);
}