Velocity Adapter for Scriptella.
This driver allows to integrate velocity templates into script files.
The content inside scipt elements managed by this driver is evaluated by Velocity engine and the output
is sent to the URL specified as connection parameter.
General information
| Driver class: | scriptella.driver.velocity.Driver |
| URL: | URL to send output to. URIs are resolved relative to a script file directory. |
| Runtime dependencies: | velocity-dep-1.4.jar |
Driver Specific Properties
| Name |
Description |
Required |
| encoding |
Character encoding for output streams. |
No, the JVM default charset is used. |
Example
<connection driver="scriptella.spi.velocity.Driver" url="report.html">
encoding=UTF-8;
</connection>
Registers a velocity connection which renders its output to a file report.html in the same directory
where the script file resides. UTF-8 is used to encode output.