Reference from: Developing a Spring Framework MVC application step-by-step
If you want to use Spring in Rational Application Developer v.7, follow below steps.
1.Create A EAR project to contain Spring web project.
2.Create A Dynamic Web Project, add to an EAR. In Project Facets, adds support for Struts to your project.
3.Copy spring.jar (from spring-framework-2.5/dist), spring-webmvc.jar (from spring-framework-2.5/dist/modules) and commons-logging.jar (from spring-framework-2.5/lib/jakarta-commons) to the '/WEB-INF/lib'.
4.In project properties -> Java Build Path -> Libraries, Add Step 3 those jar files using Add External JARs.
5.Open Web Deployment Descriptor, add a servlet, check Use existing Servlet class, Browse. Type DispatcherServlet, select that in springframework package. Name: springapp, modify URL Mapping from /DispatcherServlet to *.htm, Finish.
6.Create /WEB-INF/springapp-servlet.xml, like below.
<beans xmlns="http://www.springframework.org/schema/beans">7.Create the Controller, HelloController.
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<!-- the application context definition for the springapp DispatcherServlet -->
<bean name="/hello.htm" class="springapp.web.HelloController">
</bean></beans>
8.Write a test for the Controller, HelloControllerTests. To test the Controller, HelloController.
9.Create the View, hello.jsp.
10.Click Add and Remove Projects, add EAR to WAS server.
11.Open Browser, http://localhost:9080/Spring/hello.htm. You will see the hello.jsp content.


