struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: Struts 2.0.11.1 question
Date Wed, 09 Mar 2011 00:10:05 GMT
The simplest way is just to use a JSP that generates the JSON you want, then
set the contentType parameter of the result to application/json and you
should be good to go.
  (*Chris*)

On Tue, Mar 8, 2011 at 3:23 PM, Harsh C <hchaudh1@gmail.com> wrote:

> Hi,
>
> I don't know if this is the right list for a question regarding 2.0.11.1,
> if
> not please let me know the right forum.
>
> I am trying to use Struts 2.0.11.1 to work on an AJAX-ified app using Dojo.
> Problem is, struts-json plugin is not blessed.
>
> Is there a way in which I can code an Action which returns a JSON string
> without using the JSON plugin?
>
> --
> *Thanks,
> Harsh*
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message