firefox下jquery ajax返回object XMLDocument处理方法
作者:Terry2017.02.27来源:Web前端之家浏览:7054评论:0
在
firefox下使用
JQueryAjax处理struts2 返回
json类型的时候,
ajax执行成功返回结果为 [
Objectxmldocument]。
处理办法:在
getWriter.
PRint();前面加上一行代码
Serv
letActionCon
text.getResponse().setContent
type("text/
html;
charset=UTF-8");
温馨提示:本文作者系
Terry ,经
Web前端之家编辑修改或补充,转载请注明出处和
本文链接:https://jiangweishan.com/article/svg1488124800690.html
网友评论文明上网理性发言已有0人参与
发表评论: