摘要: 这里来说说用Servlet获取URL地址。在HttpServletRequest类里,有以下六个取URL的函数: getContextPath 取得项目名 getServletPath 取得Servlet名 getPathInfo 取得Servlet后的URL名,不包括URL参数 getReques 阅读全文
posted @ 2016-10-27 15:15 芭蕉扇 阅读(12400) 评论(0) 推荐(3) 编辑