struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanley, Eric" <>
Subject RE: [struts] JSON plugin
Date Thu, 13 Mar 2008 21:31:03 GMT
	I am using dojo, so here is the snippet that handles the

var kw = { 
	url: url,
	mimetype: "text/json",
	method: "POST",
	load: function(responseObject, ioArgs) {
	console.debug(responseObject[0].name);  // Dump it to the
	return responseObject;
	error: function(data){ 
		alert("An error occurred: " + data); 
	timeout: 10000, 


-----Original Message-----
From: Dale Newfield [] 
Sent: Thursday, March 13, 2008 3:28 PM
To: Struts Users Mailing List
Subject: Re: [struts] JSON plugin

Stanley, Eric wrote:
> I tried just printing out responseObject[i]

How in your javascript code do you convert the text of the response into


To unsubscribe, e-mail:
For additional commands, e-mail:

This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message