<html>
<head>
<script language="javascript">
function laodXMLHtml(){
if(window.XMLHttpRequest){
xmlhttp = new XMLHttpRequest();
}else{
xmlhttp = new ActiveXObject("aaa");
}

xmlhttp.onreadystatechange = function(){
if(xmlhttp.readyState == 4&&xmlhttp.status == 200){
document.getElementById("myDiv").innerHTML = xmlhttp.responseText;
}
}
xmlhttp.open("GET",".\aaa.jsp","true");//这行报错了。 我的jsp文件在D盘根目录下。   是不是我的url地址写错了?
xmlhttp.send();
}
</script>
</head>
<body>
<h1>AJAX</h1>
<button type="button" onClick="laodXMLHtml()">请求数据</button>
<div id="myDiv"></div>
</body>
</html>
怎么搞的啊   帮忙看看呗