会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
贵在坚持
博客园
首页
新随笔
联系
订阅
管理
2013年7月27日
request.getContextPath()
摘要: 今天终于明白了jsp中的request.getContextPath()是怎么回事了。 request.getContextPath() 返回站点的根目录 request.getRealpath("/")得到的是实际的物理路径,也就是你的项目所在服务器中的路径 request.getScheme()
阅读全文
posted @ 2013-07-27 15:52 wangyy
阅读(30051)
评论(1)
推荐(3)
编辑
公告