trimSpaces tag in web.xml not cleaning up JSP white spaces

Solution Unverified - Updated -

Issue

  • The following section has been added to the $CATALINA_HOME/conf/web.xml file, but the JSP white spaces are not getting trimmed:

            <init-param>
                 <param-name>trimSpaces</param-name>
                 <param-value>true</param-value>
            </init-param>
    
  • How to configure white space triming on jsp ?

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 4.0.5.GA
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.