Name | Spring MVC Plugin |
---|---|
AuthorPublisher | |
License | Open Source (ASL2) |
Version | Beta Tom Schneider |
Homepage | |
Version | 1.0 |
Compatibility | Struts 2.0.2+ |
State | Beta |
License | Open Source (ASL2) |
Download |
...
This plugin
Excerpt |
---|
allows Spring MVC controllers and interceptors to be executed in Struts 2 |
Features
- Includes a Struts 2 action that can execute Spring MVC controllers.
- Includes a Struts 2 interceptor that can execute Spring MVC interceptors.
- Allows the Spring MVC view to be accessed via the OGNL stack.
Getting Started
Installation
This plugin can be installed by copying the plugin jar into your application's /WEB-INF/lib
directory. No other files need to be copied or created.
Configure Spring Controller in Spring
The first step in using the Spring MVC plugin is to configure your Spring MVC controller in Spring:
Code Block |
---|
<bean id="ratingController" class="example.RatingController"></bean> |
Configure the controller in Struts 2
Now the controller needs to be configured in Strutsv2:
...