|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| Driver | Scriptella Driver for Velocity template engine. |
| VelocityConnection | Represents a session to velocity engine. |
| Exception Summary | |
|---|---|
| VelocityProviderException | Thrown by Velocity Provider to indicate velocity failure. |
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.
| 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 |
| Name | Description | Required |
|---|---|---|
| encoding | Character encoding for output streams. | No, the JVM default charset is used. |
<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.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||