User Manual
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">
<display-name>EmpInfo</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>EmpInfo</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>EmpInfo</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
</web-app>
Adding Dependency JAR Files
Add the following dependency JAR files to the EmpInfo project library.
Table 13 Jakarta Commons Dependency JAR Files
Dependency JAR Files
com.springsource.org.apache.commons.collections-3.2.1.jar
com.springsource.javax.servlet-2.5.0.jar
NOTE: All the jar files mentioned in the above table can be found in the following spring
repository: http://ebr.springsource.com/repository/app/.
If you plan to use the JDBC Type 4 driver, you must add the JAR file of the JDBC Type 4 driver to
the EmpInfo project library.
Table 14 JDBC Type 4 Dependency JAR File
Source LocationDependency JAR File
<JDBC T4 Installation Directory>\libt4sqlmx.jar
To add the dependency JAR files in the project library path and to resolve the J2EE module
dependency on these JAR files, follow the instructions described in “Adding Dependency JAR Files
in the Project Library Path” (page 52).
Creating Database Catalog, Schema, and Tables on NonStop
This section describes the steps to create the database catalog, schema, and tables on the NonStop
system.
Getting Started with Spring 71