ligx
V2EX  ›  Java

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

  •  
  •   ligx · May 11, 2016 · 6372 views
    This topic created in 3685 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   ·   Solana   ·   3119 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 08:15 · PVG 16:15 · LAX 01:15 · JFK 04:15
    ♥ Do have faith in what you're doing.