Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Name

Spring MVC Plugin

AuthorPublisher

Tom SchneiderImage Added

License

Open Source (ASL2)

Homepage

TBD

Version

1.0.0-beta

Compatibility

Struts 2.0.2+

State

Unstable

License

Open Source (ASL2)

Download

TBD

Overview

{rate:title=Rating|theme=dynamic}

Overview

This plugin INLINEThis plugin excerpt

allows Spring MVC controllers and interceptors to be executed in Struts2Struts 2

...

Features

  • Includes a struts2 Struts 2 action that can execute Spring MVC controllers.
  • Includes an struts2 a Struts 2 interceptor that adapts can execute Spring MVC interceptors.
  • Allows the Spring MVC view to be access accessed via the OGNL stack.

Usage

TBD

Example

TBD

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:

...

Configure the controller in Struts 2

Now the controller needs to be configured in Strutsv2:

...

The controllerName parameter is the name of the controller in the Spring configuration. The ModelAndView viewName is mapped to the Struts 2 result. The model Map is exposed as a model property on the value stack and can be accessed as follows:

...

Version History

Version

Date

Author

Notes

1.0

TBD

.0-beta

January 13, 2007

Image Added Tom Schneider

Initial release