I have this problem which is really driving me nuts for a couple of days. Glad if any help or suggestion is given
Code is something like that:
var xml = new ActiveXObject("Microsoft.XMLDOM");
xml.async = false;
xml.load("C:/Documents and Settings/Desktop/BTBT/abc.xml)
My instinct is that Apache Tom-cat is prohibiting the access. The jsp is unable to load any xml files in all location, but is able to load files within the Tom-cat application folder. (C:\jakarta-tomcat-4.0.1\webapps\..) I am however unsure where to investigate further.
This is really driving me crazy. any advice is really welcomed.
yes,apache is stopping you ,because you are trying to access a resource from the local disk,try to map a virtual path to this drive in tomcat, or put the file in the tomcat root folder and point it to there.