HttpPost httpost = new HttpPost(request.getParameter("url"));
StringEntity se = new StringEntity(jsondata, "UTF-8");
httpost.setEntity(se);
httpost.setHeader("Accept", "application/json");
httpost.setHeader("Content-type", "application/json");
ResponseHandler responseHandler = new BasicResponseHandler();
httpclient.execute(httpost, responseHandler);
JSONWriter writer = new JSONWriter(response.getWriter());
writer.object();
writer.key("ok");