flex java 用xml传递参数方法

public function generateForm(url):void {
var data:XML = new XML;
var url:String = servletUrl + formName;
var request:URLRequest = new URLRequest(url);

var strXmlConversion:String = ""
+ ""
+ " " + value + ""
+ " " + value + ""
+ " " + value + ""
+ " " + value + ""
+ ""
+ ""
+ " " + value + ""
+ ""
+ ""; 
data = XML(strXmlConversion);

if (data) {
trace(data);

request.contentType = "application/xml";
request.method = "POST";
request.data = data; 

navigateToURL(request, "_blank");
} 

你可能感兴趣的:(java,xml,Flex)