- All Implemented Interfaces:
- com.opensymphony.webwork.WebWorkStatics, com.opensymphony.xwork.Result, Serializable
public class JsonResult
extends com.opensymphony.webwork.dispatcher.WebWorkResultSupport
This result will format the the a result of the action using JSON. This result will look at the
JSONString property of the action and will send it to the client.
This result will set the content type to 'application/javascript'.
More recent webwork libraries contain a slightly different implementation a JSON Result. This result
was based on that implementation to (hopefully) allow for a clean upgrade path when the time comes to update
webwork.
- See Also:
- Serialized Form