title: Processing json objects in jsp
body: <p>I have a JSON object sent from the browser to the jsp page.How do I receive that object and process it in jsp.Do I need any specific parsers? I have used the following piece of code.But it wouldn't work.Essentially I should read the contents of the object and print them in the jsp. </p>
  
  <pre><code>&lt;%@page language="java" import="jso.JSONObject"%&gt;
  
  &lt;%
  JSONObject inp=request.getParameter("param1");
  %&gt;
  
  &lt;% for(int i=0;i&lt;inp.size();i++)
  {%&gt;
      &lt;%=inp.getString(i)%&gt;
  &lt;%
  }
  %&gt;
  </code></pre>