Solution:
后台通过:
获取;
From http://robin1320.iteye.com/blog/524929
public function submit():void{
//要请求的URL
var request:URLRequest = new URLRequest("http://localhost:8086/test.do") ;
var load:URLLoader = new URLLoader() ;
//URL参数
var variables:URLVariables = new URLVariables();
//variables.+后面的参数 表示要提交的参数。
variables.content = content.text;
variables.no = 1001 ;
//提交的方式
request.method=URLRequestMethod.POST;
//提交的数据
request.data=variables ;
load.dataFormat = URLLoaderDataFormat.TEXT ;
load.load(request) ;
}
后台通过:
String content = request.getParameter("content");
String no = request.getParameter("no ");
获取;
From http://robin1320.iteye.com/blog/524929