在使用dojo时,想要完全不用tomca跑动dojo应用(加载本地的dojo库文件),在引用的dojo.js文件为相对路径的时候要注意:
There was a security adjustment in Firefox 3.
?1,Go to about:config
?2,Set security.fileuri.strict_origin_policy to false.
将此设置改了即可识别相对路径!
类似于这种:
?<script type="text/javascript" src="../../javascript/dojo16/dojo/dojo.js"
??? ??? ??? djConfig ="parseOnLoad: true"></script>