[jboss-jira] [JBoss JIRA] (WFLY-5602) Jsp Trim spaces doesn't work

Giuseppe Morreale (JIRA) issues at jboss.org
Thu Oct 29 05:29:00 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Giuseppe Morreale updated WFLY-5602:
------------------------------------
    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..


> Jsp Trim spaces doesn't work
> ----------------------------
>
>                 Key: WFLY-5602
>                 URL: https://issues.jboss.org/browse/WFLY-5602
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (Undertow)
>    Affects Versions: 9.0.1.Final
>            Reporter: Giuseppe Morreale
>            Assignee: Stuart Douglas
>            Priority: Minor
>
> 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..



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list