随笔分类 -  jsp

jsp
摘要: 阅读全文
posted @ 2019-06-16 21:14 glacial_water 阅读(1386) 评论(0) 推荐(0)
摘要:jsp中的request.getContextPath() <%=request.getContextPath()%>是为了解决相对路径的问题,可返回站点的根路径。 但不用也可以吧,比如<a href="<%=request.getContextPath()%>/catalog.jsp">我就直接用 阅读全文
posted @ 2017-08-04 08:58 glacial_water 阅读(467) 评论(0) 推荐(0)
摘要:解决方法: 右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》 当添加好Tomacat8.0以后,显示出来的错误就没有了。 阅读全文
posted @ 2017-07-08 17:33 glacial_water 阅读(128) 评论(0) 推荐(0)

Document