struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Zhang <>
Subject Re: [S2]question about S2+YUI+JSON.
Date Wed, 23 Jan 2008 02:59:47 GMT


I have a question about how to encode the data when sumbit data by YUI.

Like below, 

var postData = "username=anonymous&userid=0";
function makeRequest(){

	var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback,

How can I encode the postData?

View this message in context:
Sent from the Struts - User mailing list archive at

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

View raw message