Replace springapp-servlet.xml's header with this :
Also, I have not specified the path of springapp-servlet.xml. How does the application know where to look for mappings of a specific type.
Spring looks for [servletname]-servlet.xml under WEB-INF, where [servletname] is the name you give to the DispatcherServlet. You named the DispatcherServlet "springapp", Spring will look for springapp-servlet.xml under WEB-INF.