Question: what is the difference between applicationcontext.xml and spring-servlet.xml?
Answer: The applicationContext. xml describes the beans for the "root web app context", i.e. the connection associated with the web app. The spring-servlet. xml (or whatever extra you call it) represents the beans for one servlet's app context.