学习使用urlwrite,但是遇到一个路径。
当使用urlwrite后,jsp页面引用的一系列包,路径错误。
比如:http://localhost/n/skins/js/jquery-ui-1.8.5.custom.min.js
正确的路径应该是:http://localhost/skins/js/jquery-ui-1.8.5.custom.min.js
还有我包含的<%@ include file="../../../head.jsp" %>文件。里面的文字都有,但是引用的样式、JS都无效了。
求教了~