首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
Java
如何在 properties 文件中用${}引用另一个 properties 文件中的内容
ligx
·
2016-05-11 13:05:43 +08:00
· 5658 次点击
这是一个创建于 3086 天前的主题,其中的信息可能已经有所发展或是发生改变。
请问在 springmvc 项目中, 如何在 properties 文件中用${}引用另一个 properties 文件中的内容
properties
文件
引用
SpringMVC
2 条回复
•
2016-05-11 13:13:27 +08:00
1
liuxey
2016-05-11 13:12:47 +08:00
properties 对 spring 来讲都是资源文件,不具备可编程性,而且是平行的,你可能需要借助 maven 等工具来实现这个功能
2
qping
2016-05-11 13:13:27 +08:00
并不能
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
997 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 20:40
·
PVG 04:40
·
LAX 13:40
·
JFK 16:40
Developed with
CodeLauncher
♥ Do have faith in what you're doing.