Home > Guides > Plugin Developers Guide > Javatemplates Plugin |

Apache Struts 2 Documentation
Javatemplates Plugin
Edit Page Browse Space Add Page Add News

This plugin provides a faster Java implementation of tags in the "simple" theme. Struts tags are implemented using FreeMarker as the rendering engine, which provides, among other things, the option to overwrite the tags. This plugin implements the tags in the "simple" theme, using Java (FreeMarker is not involved at all), which provides a performance boost to page rendering.

## Installation

1. 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.
2. Set these properties in struts.xml:

The plugin is a drop in replacement for the supported tags in the simple theme, so no other configuration is required.

## Supported tags

- a
- actionerror
- actionmessage
- checkbox
- div
- fielderror
- file
- form
- head
- hidden
- label
- password
- select
- reset
- submit
- text
- textarea
- token

## Performance benchmark

TODO