使用struts2跳转后的页面找不到JS
使用 xx/xx!xx.action跳转后的页面报错:
地址如:http://127.0.0.1:8811/straittalents/temp!getList.action
页面源代码:
<link href="/straittalents/Style/css.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
<script type="text/javascript" src="jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="/straittalents/js/jq.js"></script>
<script type="text/javascript" src="jquery.XYTipsWindow.min.2.8.js"></script>
<script type="text/javascript" src="ajax.js"></script>
IE报错:
缺少对象
jq.js 行:1
代码:0 字符:1
url:http://127.0.0.1:8811/straittalents/js/jq.js
如果使用路径访问页面则不会报错 。。
求解释!!求改善!