ligx
V2EX  ›  Java

如何在 properties 文件中用${}引用另一个 properties 文件中的内容

  •  
  •   ligx · May 11, 2016 · 6601 views
    This topic created in 3775 days ago, the information mentioned may be changed or developed.

    请问在 springmvc 项目中, 如何在 properties 文件中用${}引用另一个 properties 文件中的内容

    2 replies    2016-05-11 13:13:27 +08:00
    auin
        1
    auin  
       May 11, 2016
    properties 对 spring 来讲都是资源文件,不具备可编程性,而且是平行的,你可能需要借助 maven 等工具来实现这个功能
    qping
        2
    qping  
       May 11, 2016
    并不能
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2777 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 04:48 · PVG 12:48 · LAX 21:48 · JFK 00:48
    ♥ Do have faith in what you're doing.