我用AJAX调用JSP页面,JSP中head这么写
contentType="text/html; charset=utf8",firefox一切正常,但是IE下总是在ajax的error,得到错误、
"Could not complete the operation due to error c00ce56e."
后来改成
contentType="text/html; charset=utf-8"就好了。
解决IE AJAX错误
本文介绍了一种在使用AJAX调用JSP页面时遇到的IE浏览器特定错误“Could not complete the operation due to error c00ce56e”的解决方案。通过调整contentType属性中的字符集编码形式,从'utf8'改为'utf-8',成功解决了该问题。
我用AJAX调用JSP页面,JSP中head这么写
contentType="text/html; charset=utf8",firefox一切正常,但是IE下总是在ajax的error,得到错误、
"Could not complete the operation due to error c00ce56e."
后来改成
contentType="text/html; charset=utf-8"就好了。

被折叠的 条评论
为什么被折叠?