This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Comment

Im being dumb here then - is searchApplicationContext the only application context ? What about the others I define in the context param in the web.xml, or the view.xml I reference from the controller-servlet.xml file ?

(If I move the bean config from views.xml to searchApplicationContext, I get the app context ref as expected)

Comment

The context pointed to in web.xml is an ApplicationContext, yes. You'll have to clarify what you mean by searchApplicationContext. views.xml is I believe just a beanfactory, which is why you're getting the behaviour you describe...