Ajax请求的问题:错误80020101 [英] Ajax request problem: error 80020101

查看:118
本文介绍了Ajax请求的问题:错误80020101的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有它返回一个JSP页面的请求。但事实是,jsp的包括JSP:包括它(它调用它另一个JSP文件),即给出了错误80020101

I have a request which returns a jsp page. But the fact is, the jsp includes jsp:include in it(it calls another jsp file in it) and ie gives the error 80020101.

任何想法?

感谢

推荐答案

删除JavaScript的声明,导入使用SRC属性的脚本。改变你的JavaScript文件内联JavaScript的,如果你真的需要它。

Remove javascript declarations that imports a script using src-attribute. Change your javascript-file to inline-javascript if you really need it there.

来源: <一个href="http://bytes.com/topic/javascript/answers/750333-ie-syntax-error-80020101-undefined-array">http://bytes.com/topic/javascript/answers/750333-ie-syntax-error-80020101-undefined-array

最简单的方法是将一个参数添加到您的AJAX请求,如阿贾克斯= 1 并隐藏JavaScript的声明时, AJAX -parameter存在是请求。

Easiest way to would be to to add a parameter to your AJAX request such as ajax=1 and hide the javascript declarations when ajax -parameter exists is in request.

我不认为这有什么关系,包括与JSP文件:包括因为浏览器不知道aynthing别人比你把它的HTML

I don't think this has anything to do with including files with jsp:include since the browser does not know aynthing else than the HTML you throw it with.

这篇关于Ajax请求的问题:错误80020101的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆