摘要:
${pageContext.request.contextPath }对于的是web工程中的WebContent目录下 使用:<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.4.4 阅读全文
posted @ 2020-11-15 16:37
vkd
阅读(170)
评论(0)
推荐(0)
摘要:
#关于out.println问题 <%! out.println("xxxx");%> 1 1 上面是错误的,<%!%>是声明变量是使用,而不是进行逻辑输出! <% out.println(xxxx);%> 1 1 println报红,这是因为没有关联好服务器! 点击File->Project st 阅读全文
posted @ 2020-11-15 15:56
vkd
阅读(540)
评论(0)
推荐(0)
摘要:
${pageContext.request.contextPath}是JSP取得绝对路径的方法,等价于<%=request.getContextPath()%> 。 也就是取出部署的应用程序名或者是当前的项目名称 比如我的项目名称是demo1在浏览器中输入为http://localhost:8080 阅读全文
posted @ 2020-11-15 11:50
vkd
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号