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

Stuart Douglas (JIRA) issues at jboss.org
Sun Nov 1 19:52:00 EST 2015


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

Stuart Douglas resolved WFLY-5602.
----------------------------------
    Resolution: Rejected


This is only supposed to trim spaces between directives and actions, it will not trip all whitespace from a page.

> 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