Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5602

Jsp Trim spaces doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • 9.0.1.Final
    • Web (Undertow)
    • None

    Description

      I add it in my standalone-full.xml

      {{<servlet-container name="default" default-encoding="utf-8">

      • <jsp-config trim-spaces="true"/>**
        <persistent-sessions path="session" relative-to="jboss.server.temp.dir"/>
        <websockets/>
        </servlet-container>}}

      but with this test.jsp:

      {{<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>JSP Page</title>
      </head>
      <body>

      <h1> Hello World!</h1>
      <div> test</div>
      </body>

      </html>}}

      the spaces are not trimmed..

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            peppem Giuseppe Morreale (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: