应该是结合maven使用时,maven可以定义webapp.root变量在编译过程中,maven的resource插件提供的filter功能会将变量替换为profile中后者pom中定义的值。 参考https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
应该是结合maven使用时,maven可以定义webapp.root变量
在编译过程中,maven的resource插件提供的filter功能会将变量替换为profile中后者pom中定义的值。
参考https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html