title: Retrieve hashmap values from java servlet to flex
body: <p>I am working on "migration from JSP to FLEX, and java as back-end. I am novice in java and JSP.</p>
  
  <p>I am stuck at getting values from a java servlet where it takes httprequest and there is a function called <code>forward(request,response)</code> which responds as JSP page with requried values in it.<br>
  Now I need to change that and get only data from that servlet and use that in flex.</p>
  
  <p>Problem:<br>
  case1: When using httpservice it takes result as string, but unable to get as object.<br>
  case2: If I use RemoteObject , it needs method in java servlet to get return value, which is not present in existing servlet.</p>
  
  <p>Can I get any suggestions on this problem.</p>
  
  <p>Thank You</p>