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?
Hi,
look at the Rest part of the Seam documentation and you will find what you need.
Leo