June 2018
Intermediate to advanced
596 pages
12h 39m
English
Let's examine some of the files created by the template:
<!-- Processes application requests -->
<servlet>
<servlet-name>appServlet</servlet-name>
<servlet- class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring/appServlet/servlet- context.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
DispatcherServlet is the front Controller servlet. It is passed the path of the context (XML) file for configuring Spring DI. Recall that in the ...