第一种:用basePath方式,但是前提必须加个<%=basePath %>,不然他找不到那路径(图1)
第二种:直接用路径方式,用src="/easyui_demo/js/jquery-easyui-1.4.3/jquery.min.js代替了<%=basePath %>,同样也能找到这个路径(图2)
第三种:(用../这种形式的)他代表上一级目录(图3) 、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、、 当jsp写<%=basePath %>时一定要加这个路径,不然他识别不到那个路径
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>