wamp安裝成功後,在你所在磁碟目錄! catch (e)
// 在位址列輸入位址
xhr.open('get','1.txt',true);
// 提交
xhr.send();
// 等待伺服器返回內容
xhr.onreadystatechange = function
() } }
}script>
head>
type="button"
value="按鈕"
id="btn" />
body>ml
html>
6.輸入你的訪問路徑,不要在本地直接雙擊此html檔案,會導致報錯。
 環境搭建
環境 eclipse tomcat8.5 第一步 jar準備 基礎包 commons logging 1.1.1.jar jstl 1.2.jar spring aop 4.0.4.release.jar spring aspects 4.2.6.release.jar spring beans 4...