This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring "root web application context" versus "application context files"  RSS feed

Maan Suraj
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was going through link and have quite a few number of questions on the same. Below is the extract from that site

The ContextLoaderListener, which initializes the Spring Framework when our web application is loaded by the servlet engine (e.g. Tomcat). The root application context will be loaded from the services-config.xml classpath resource.
A Spring dispatcher servlet named phonebook, loading its configuration from two application context files: phonebook-servlet-config.xml and phonebook-webflow-config.xml. This servlet is also configured to handle all requests matching the URL pattern *.htm, e.g. all requests for the sample application.

I was not sure how the root application context file (services-config.xml) differs from application context files (phonebook-servlet-config.xml and phonebook-webflow-config.xml).
I want to understand how Spring uses theses files .Also, I am not able to get what init params we should give to DispatcherServlet .

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!