Filtering Maven files into WEB-INF

后端 未结 4 1357
抹茶落季
抹茶落季 2021-01-31 02:18

I am trying to add some filtering to the application context file, which resides in the WEB-INF directory.

I have the file which is to be filtered (xmlgateway-context.

4条回答
  •  不思量自难忘°
    2021-01-31 03:11

    Put the file xmlgateway-context.xml in src/main/webapp/WEB-INF and configure like this:

    
        
            src/main/filters/config-${targetenv}.properties
        
        
            
                    true
                    src/main/webapp/WEB-INF
            
        
    
    

提交回复
热议问题