Adding Spring Web MVC Framework Support to an Existing Application

See Also

The Spring framework libraries and supporting files are bundled with the IDE.

To add Spring Web MVC support to an existing web application:

  1. In the Projects window, right-click a web application project node and choose Properties.
  2. Under Categories, click Frameworks. Then under Used Frameworks click the Add button.
  3. In the Add a Framework dialog that displays, select Spring Web MVC and click OK.
  4. Optionally specify any configuration settings, such as the default dispatcher name and mapping. You can also specify the version of Spring libraries to add to your classpath (3.0 or 2.5). Click OK to exit the Project Properties dialog.

Spring framework libraries and artifacts are added to the selected project, such as applicationContext.xml and ${dispatcher}-servlet, where ${dispatcher} is the user-specified dispatcher name.

See Also
Creating a New Web Application with Spring Web MVC Framework Support
About Spring Web MVC Framework Support
About Web Application Frameworks

Legal Notices