Hi Dale,
 
  Can you please send me sample example using AJAX in struts 2.1.8, where 
action method returns json list to a page.
 
  Thanks in advance.
 
Regards,
Sharath.

--- On Fri, 4/16/10, Dale Newfield <d...@newfield.org> wrote:


From: Dale Newfield <d...@newfield.org>
Subject: Re: Using json in Struts 2.1.8.1
To: "Struts Users Mailing List" <user@struts.apache.org>
Date: Friday, April 16, 2010, 10:39 AM


> <package name="package_name" extends="struts-default"
> namespace="/namespace_name">
>         <result-types>
>             <result-type name="json" 
>class="com.googlecode.jsonplugin.JSONResult" />
>         </result-types>

Or just

<package name="package-name" extends="json-default">

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org




      

Reply via email to