Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

The Codebehind Plugin is experimental. Feedback is appreciated!

Overview

The Codebehind Plugin

Excerpt

reduces mundane configuration by adding "Page Controller" conventions

.

...

To use this plugin, simply copy its jar into your application. The plugin can be used to find default mappings and results.

Default Mappings

To better facilitate a code-behind development approach, the plugin will detect the case where the request has no defined Struts action mapping, yet there exists a corresponding page. It will then create a dummy action mapping referencing the default Action class (usually ActionSupport), allowing the page to be displayed normally. Additionally, the default interceptor stack for the configured package will be applied, bringing the workflow benefits of interceptor stacks to simple pages.

...