在尝试使用一个测试页面进行一些jQuery getJSON调用时,我遇到了错误,这些错误显示在Firefox的错误控制台中:
XML tag name mismatch (expected input)
http://localhost:8080/<MyApp>/jquery-1.4.4.js
</body>
XML tag name mismatch (expected input)
http://localhost:8080/<MyApp>/json.js
</body>
The original html has the following:
<html>
<head>
<title>Application</title>
<script type="text/javascript" src="/<MyApp>/jquery-1.4.4.js"></script>
<script type="text/javascript" src="/<MyApp>/json.js"></script>
</head>
<body>
<h1>Application</h1>
<p>
<label id="heartbeatLabel">Gateway Heartbeat:</label>
<input id="heartbeatStatus" type="text" readonly="true" width="30">
<input id="jsRunning" type="text" readonly="true" width="30">
<input id="btnHeartbeat" type="button" value="Test Heartbeat" onclick="javascript:testHeartbeat();">
</body>
Firebug告诉我javascript脚本都被找到了,Net面板显示状态码200。有什么建议吗?