title: How do we get JSON response from action
body: <p>I am quite new to Java EE. I am facing an issue.</p>
  
  <p>Here I have requirement for Test.jsp which should have following function</p>
  
  <p>1) Jsp will have one input area where json String input request can be placed.</p>
  
  <p>2) drop down list which shows following list</p>
  
  <pre><code>https://localhost:9443/my.do
  
  https://localhost:9443/my2.do
  </code></pre>
  
  <p>3) submit button : on submit Javascript take the input json request send it to corrosponding action selected in  dropdown.</p>
  
  <p>4) Output area: which shows Json response from action.</p>
  
  <p>You can keep any tool to parse json like Jquery in jsp</p>
  
  <blockquote>
    <p>Object     {  “result code”       : “OK”  “resultMessage” : “ ” }</p>
  </blockquote>
  
  <p>please Help me. Thanks</p>