title: how to read json response in jsp
body: <p>My client side program is like this:</p>
  
  <pre><code>DefaultHttpClient httpClient = new DefaultHttpClient();
  HttpResponse res = httpClient.execute(req); 
  </code></pre>
  
  <p>Server side, I have composed a JSON response.</p>
  
  <pre><code>JSONObject JObject = new JSONObject();
  JObject.put("ResponseCode", "100");
  JObject.put("Status", "Success");
  response.setContentType("application/json");    
  PrintWriter out = response.getWriter();
  out.print(JObject);
  out.flush();
  </code></pre>
  
  <p>How can i read this <code>ResponseCode</code> and <code>Status</code> in Client side back.</p>