On 4/19/10 2:14 PM, sharath karnati wrote:
Can you please send me sample example using AJAX in struts 2.1.8, where
action method returns json list to a page.
Trying to catch up from being out of town all weekend (and Monday), so
I'm just going to throw some results of searching google at you:
, 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
.
--- 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
On 4/20/10 11:34 AM, sharath karnati wrote:
package name=admin extends=struts-default,json-default
result-types
result-type name=json class=org.apache.struts2.json.JSONResult /
/result-types
json-default extends struts-default, so no reason do list both (and I
don't even know if that
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: Tuesday, April 20, 2010, 12:28 PM
On 4/20/10 11:34 AM, sharath karnati wrote:
package name=admin extends=struts-default,json
On 4/20/10 2:11 PM, sharath karnati wrote:
but facing same problem...
Because your problem doesn't appear to be a server-side one, but rather
what's going on inside the browser.
In struts.properties file having below line
*struts.enable.DynamicMethodInvocation = **true*
If that's true,
: Tue, 20 Apr 2010 08:34:15 -0700
From: karna...@yahoo.com
Subject: Re: Using json in Struts 2.1.8.1
To: user@struts.apache.org
CC: d...@newfield.org
Hi All,
Added below lines in struts.xml file
package name=admin extends=struts-default,json-default
result-types
result
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
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
: hisameer cool_sameer_fo...@yahoo.com
Subject: Re: Using json in Struts 2.1.8.1
To: user@struts.apache.org
Date: Thursday, April 15, 2010, 7:22 PM
Do something like this:
In your struts.xml define result types as follows:
package name=package_name extends=struts-default
namespace=/namespace_name
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
,
Sharath.
--- On Thu, 4/15/10, hisameercool_sameer_fo...@yahoo.com wrote:
From: hisameercool_sameer_fo...@yahoo.com
Subject: Re: Using json in Struts 2.1.8.1
To: user@struts.apache.org
Date: Thursday, April 15, 2010, 7:22 PM
Do something like this:
In your struts.xml define result types
Can anyone please let me know, how to use json??
Thanks,
Sharath.
--- On Wed, 4/14/10, sharath karnati karna...@yahoo.com wrote:
From: sharath karnati karna...@yahoo.com
Subject: Using json in Struts 2.1.8.1
To: user@struts.apache.org
Cc: karna...@yahoo.com
Date: Wednesday, April 14, 2010, 1
://old.nabble.com/Using-json-in-Struts-2.1.8.1-tp28245651p28261689.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail
Hi All,
I'm having following Action
- Action(Begin) -
public class AutocompleteField extends ActionSupport {
private String city;
private MapString,String json;
public String execute() throws Exception() {
return SUCCESS;
}
15 matches
Mail list logo