摘要: req.getContextPath()作用 得到的是项目的虚拟路径:例如 访问路径为:http://localhost:8080/blue/response.jsp request.getContextPath()得到的就是 /blue JSP/Servlet中的相对路径和绝对路径 服务器端 相对 阅读全文
posted @ 2020-08-19 14:30 风冰水 阅读(126) 评论(0) 推荐(0) 编辑