Viewtool to work with the Struts error messages.
dotCMS uses the Struts 1 Forever package, which fixes all known security issues with Apache Struts, and which is continually maintained and patched.
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>
Javadoc link: ErrorsTool