Errors Viewtool
This function has been deprecated.
The $errors
Viewtool provides methods to work with Struts error messages.
Important:
dotCMS uses the Struts 1 Forever package, which fixes all known security issues with Apache Struts, and which is continually maintained and patched.
Toolbox.xml Configuration#
The following example shows how the ErrorsTool viewtool is mapped in the toolbox.xml file:
<tool> <key>errors</key> <scope>request</scope> <class>org.apache.velocity.tools.struts.ErrorsTool</class> </tool>