Errors Viewtool documentation for the dotCMS Content Management System

Viewtool to work with the 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.


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