Manual
http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
<bean name="/insert.htm" class="com.hp.empinfo.web.EmployeeController">
</bean>
</beans>
Adding Dependency JAR Files in the Project Library Path
Because the EmpInfo application uses the Spring framework, it requires the following dependency
JAR files.
Table 5-1 Spring Dependency JAR Files
Source LocationDependency JAR Files
<Spring Home>/lib/jakarta-commonscommons-logging.jar
<Spring Home>/lib/j2eeservlet-api.jar
<Spring Home>/distspring.jar
<Spring Home>/dist/modulesspring-webmvc.jar
To add the dependency JAR files in the EmpInfo project library path, complete the following
steps:
1. On the Project Explorer frame, right-click EmpInfo and select Properties.
The Java Build Path dialog box appears.
2. From the type filter text, select Java Build Path.
3. Click the Libraries tab.
4. Click Add External JARs to add each of the above-mentioned dependency JAR files. Then
browse to specify the location of each of the dependency JAR files.
Figure 5-14 shows the Java Build Path dialog box.
104 Getting Started with Spring