Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2
-
None
Description
The documentation of the ImportTool at http://jakarta.apache.org/velocity/tools/view/ImportTool.html has a toolbox configuration example of:
<tool>
<key>import</key>
<scope>session</scope>
<class>org.apache.velocity.tools.view.tools.ImportTool</class>
</tool>
with the scope set to 'session'.
This needs to be changed to 'request' as stated in the JavaDoc, as having it as session causes some very unpredictable behaviour.