Child pages
  • Codebehind Plugin

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Note

The Codebehind Plugin is experimental. Feedback is appreciated!

Since Struts 2.1.0, the Zero Configuration code has been moved to this plugin
Info
Warning
titleDeprecated Plugin

Since 2.1 this plugin has been deprecated in favor of the Convention Plugin. See this page for details on how to port your application to the Convention plugin.

The Codebehind Plugin

Excerpt

reduces mundane configuration by adding "Page Controller" conventions

.

...

Setting

Description

Default

Possible Values

struts.codebehind.defaultPackage

The default package to use for created Action mappings

codebehind-default

Any existing package name

struts.configuration.classpath.disableActionScanning

Whether to disable scanning the classpath for Action classes or not

false

true or false

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.