jquery ajax post-xml参数不';好像不行
我有下面的ajax jquery帖子,其中xml是paramjquery ajax post-xml参数不';好像不行,jquery,ajax,xml,post,Jquery,Ajax,Xml,Post,我有下面的ajax jquery帖子,其中xml是param var params ="requestXML="+requestXML; $.ajax({ type: "POST", url: "GetOfferPts", data: params, contentType: "text/xml", dataType: "xml", async:false, cache: fa
var params ="requestXML="+requestXML;
$.ajax({
type: "POST",
url: "GetOfferPts",
data: params,
contentType: "text/xml",
dataType: "xml",
async:false,
cache: false,
它在firebug中抛出404未找到
或302临时移动
错误。在我的java类中,我试图获取
String requestXML=requestProperties.getString(“requestXML”,“”)代码>URL真的是这样吗?它不是参数,而是URL@Spokey是我的命令。。。