Typically there is one ApplicationContext (parent) and 0..n DispatcherServlets (children). Is it also possible to have aDispatcherServlet that has another DispatcherServlet as parent context which has the ApplicationContext as parent? As I understood, beans can be resolved transitively so it should be possible to access the application context.
I don’t want to put the shared beans into the ApplicationContext because they must not be exposed to other DispatcherServlet – with one exception.
I extended the DispatcherServlet. Now it works perfectly!