1 Reply Latest reply on Sep 21, 2010 10:59 AM by Leo van den berg

    JSON View

    elfuhrer Novice

      I'm building a URL that should return only a JSON string. Basically I need the browser to display only the JSON String, without any HTML overhead.


      for instance someone would call the following action from a post request


      http://myserver/Action.seam?param1=value


      and the returning responses would be only a JSON object such as


      myObject { param1: "test" }


      What is coming to my mind is a Servlet that would handle those calls, any other suggestions?