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:
- In the Projects window, right-click a web application project node and
choose Properties.
- Under Categories, click Frameworks. Then under Used Frameworks click the
Add button.
- In the Add a Framework dialog that displays, select Spring Web MVC and
click OK.
- 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