ajaxinternet-explorerjspjspinclude

Ajax request problem: error 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.

Any ideas?

Thanks


Solution

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

    Source: http://bytes.com/topic/javascript/answers/750333-ie-syntax-error-80020101-undefined-array

    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.

    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.