会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Vanguard
求知若饥,虚心若愚!
博客园
首页
新随笔
联系
订阅
管理
2018年12月11日
JavaWeb项目获取绝对路径basePath
摘要: 1. freemarker获取系统相对路径方式 spring-mvc.xml 中配置 其中<property name="requestContextAttribute" value="request" />是关键。 ftl页面中设置 即可获取带项目名的路径,但这路径是相对路径,浏览器输入http:
阅读全文
posted @ 2018-12-11 21:13 Vanguard
阅读(938)
评论(0)
推荐(0)
编辑
公告