Java Reference
In-Depth Information
Appendix A
Configuration Reference
Stripes is very light on configuration: there's actually only one required
configuration parameter. All others are optional. What's more, by using
the Extension.Packages parameter and adding Stripes extensions to those
packages, you've opened the door to customizing just about everything
in Stripes without any additional configuration!
Nevertheless, you still have the option of using configuration para-
meters in web.xml to add extensions, as listed in Section A.2 , Exten-
sions, on the next page. Some default implementations also accept
additional parameters; you will find those in Section A.3 , Settings, on
page 376 . Finally, you'll be interested in Section A.4 , Interceptors, on
page 378 if you want to change the default interceptors or if you need
your interceptors to run in a specific order.
A.1
Required Configuration
Only one configuration parameter is required by Stripes.
ActionResolver.Packages
This tells Stripes which packages to use when looking for action beans.
Indicate each package root—subpackages are automatically included,
so do not use .* at the end of the package name. For example:
<!-- Only one package root -->
<init-param>
<param-name> ActionResolver.Packages </param-name>
<param-value> stripesbook.action </param-value>
</init-param>
 
 
 
 
Search WWH ::




Custom Search