Prev Next

Spring / Spring module questions

Difference between applicationContext.xml and spring-servlet.xml in Spring Framework.

Spring allows you define multiple contexts in a parent-child hierarchy.

The applicationContext.xml defines the beans for the root webapp context, the context associated with the web application.

The spring-servlet.xml defines the beans for one servlet's app context. There can be many of these in a webapp, one per Spring servlet.

More Related questions...

Show more question and Answers...


Comments & Discussions