Have been following what I consider to be a very good worked spring example here
http://static.springsource.org/spring/articles/2005/MVC-step-by-step/Spring-MVC-step-by-step-Part-1.html
Have a couple of questions.
When the container sees the request "Hello.htm" it matches this with the Spring mapping
in web.xml and creates the springapp context. What I don't understand is how does the container know to build the spring context using the file springapp-servlet.xml? Is this as simple as, the
servlet name is springapp so there should be a file called springapp-servlet.xml I can use to build the context to service this request? If so, is this a "Spring framework"thing ?
Q2, when the springapp-servlet.xml context is loaded, it appears the framework then finds the type of class to service the request based on looking at the following mappings in springapp-servlet.xml.
So I modified the urlMapping id to id="MickyMouse" and it still worked so what kind of voodoo is going on where by the framework knows to magically pluck the classname springappController out of the list of mappings in this particular bean definition?