son result type, i.e., @Result(name="foo",
type="json", ...) or you could set the contentType in your @Result
params as application/json and have your associated template emit the
exact json that you want to return.
On Tue, Jul 13, 2010 at 5:34 AM, JP Cafaro wrote:
Is it possible
have your associated template emit the
exact json that you want to return.
On Tue, Jul 13, 2010 at 5:34 AM, JP Cafaro wrote:
> Is it possible to declare result-type using annotations? For example, when
> trying to return an object, that gets serialized to json, is it possible to
> move away f
Is it possible to declare result-type using annotations? For example,
when trying to return an object, that gets serialized to json, is it
possible to move away from the struts.xml and do it via
annotations
-
To unsubscribe
3 matches
Mail list logo