// text=DownLoad.result(parser.tablename, "", parser.start, parser.rows, parser.queryStr, "", parser.fl, parser.groupby, parser.sort, parser.order).trim();
// } catch (Exception e) {
// throw new IOException(e);
// }
} else {
HttpClient httpclient = new DefaultHttpClient();
httpclient.getParams().setParameter(HttpMethodParams.SO_TIMEOUT, 60000*30);
httpclient.getParams().setParameter(HttpMethodParams.HTTP_CONTENT_CHARSET, "UTF8");
HttpPost httppost = new HttpPost("http://" + this.strurl
+ "/higo/result.jsp");
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(1);
nameValuePairs.add(new BasicNameValuePair("project",parser.tablename));
nameValuePairs.add(new BasicNameValuePair("start", parser.start));
nameValuePairs.add(new BasicNameValuePair("rows", parser.rows));
nameValuePairs.add(new BasicNameValuePair("fl", parser.fl));
if (parser.queryStr != null) {
nameValuePairs
.add(new BasicNameValuePair("q", parser.queryStr));
}
if (parser.groupby != null) {
nameValuePairs.add(new BasicNameValuePair("groupby",
parser.groupby));
}
if (parser.sort != null) {
nameValuePairs.add(new BasicNameValuePair("sort", parser.sort));
}
if (parser.order != null) {
nameValuePairs
.add(new BasicNameValuePair("order", parser.order));
}
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs,"UTF-8"));
HttpResponse response = httpclient.execute(httppost);
InputStream is = response.getEntity().getContent();
BufferedInputStream bis = new BufferedInputStream(is);
ByteArrayBuffer baf = new ByteArrayBuffer(1024);