June 2018
Intermediate to advanced
280 pages
7h 46m
English
To clarify things further, let's look at a sample implementation. To start with, we will add the following to web.xml:
<servlet> <servlet-name>springmvc</servlet-name> <servlet-class>org.springframework.web.servlet. DispatcherServlet</servlet-class> <init-param> <param-name>contextClass</param-name> <param-value>org.springframework.web.context.support. AnnotationConfigWebApplicationContext</param-value> </init-param> <init-param> <param-name>contextConfigLocation</param-name> <param-value>com.employee.config.EmployeeConfig</param-value> </init-param> <load-on-startup>1</load-on-startup></servlet><servlet-mapping> <servlet-name>springmvc</servlet-name> <url-pattern>/mvc/*</url-pattern></servlet-mapping>
We ...
Read now
Unlock full access