Spring properties file as xml

后端 未结 2 737
情话喂你
情话喂你 2021-01-06 02:08

I have properties file config.properties where are stored some application wide properties. And I have imported it using property placeholder:



        
2条回答
  •  隐瞒了意图╮
    2021-01-06 02:26

    PropertyPlaceholderConfigurer already supports xml property files via the DefaultPropertiesPersister

    The xml file format for the properties is as below.

       
        
        
            Value 1
            Value 2
        
    

    you can use

      
          
             
          
    

提交回复
热议问题