随笔分类 -  jsp

摘要:1 从Request对象中可以获取各种路径信息,以下例子: 2 假设请求的页面是index.jsp,项目是WebDemo,则在index.jsp中获取有关request对象的各种路径信息如下 3 String path = request.getContextPath(); 4 String basePath = request.getSche... 阅读全文
posted @ 2016-12-05 09:56 LinVan 阅读(6142) 评论(0) 推荐(0)