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 <hchau...@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*
>

Reply via email to