摘要: <%=request.getContextPath()%>是为了解决相对路径的问题,可返回站点的根路径。 但不用也可以,比如<a href="<%=request.getContextPath()%>/catalog.jsp">,可以直接用<a href="catalog.jsp">也行,这两个文件 阅读全文
posted @ 2018-02-26 15:56 有归宿的鸟 阅读(280) 评论(0) 推荐(0) 编辑