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 <[email protected]> wrote:


From: Dale Newfield <[email protected]>
Subject: Re: Using json in Struts 2.1.8.1
To: "Struts Users Mailing List" <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]




      

Reply via email to