properties not accessible to the child (web) context

前端 未结 1 1820
-上瘾入骨i
-上瘾入骨i 2020-12-17 11:01

A typical use-case: I\'m having applicationContext.xml and dispatcher-servlet.xml. In the parent context (applicationContext.xml) I ha

相关标签:
1条回答
  • 2020-12-17 11:36

    Yes, this is an expected behaviour. <context:property-placeholder> creates a BeanFactoryPostProcessor which is applied at per-context basis. So, you'll need a postprocessor in the child context anyway.

    0 讨论(0)
提交回复
热议问题