Adding dependency jar files – HP Integrity NonStop J-Series User Manual
Page 112

2.
Increase the startup load to 2 after adding the ContextLoaderListener to make
DispatcherServlet
as the secondary servlet class. The ContextLoaderListener
servlet class becomes the primary servlet class.
After modification, the web.xml file must appear as:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
org.springframework.web.servlet.DispatcherServlet
org.springframework.web.context.ContextLoaderListener
Adding Dependency JAR Files
Add the following dependency JAR files to the EmpInfo project library.
Table 4 Jakarta Commons Dependency JAR Files
Source Location
Dependency JAR Files
<Spring Dependency
Home>/org.apache.commons/
com.springsource.org.apache.commons.
collections-3.2.1.jar
com.springsource.org.apache.commons.collections/
3.2.1
<Spring Dependency
Home>/org.apache.commons/
com.springsource.javax.servlet-2.5.0.jar
com.springsource.org.apache.commons.lang/
2.1.0
112
Getting Started with Spring