rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mickaël Tricot (JIRA) <j...@apache.org>
Subject [jira] [Updated] (RAVE-621) trimDirectiveWhitespaces JSP directive being ignored
Date Tue, 25 Sep 2012 13:56:08 GMT

     [ https://issues.apache.org/jira/browse/RAVE-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mickaël Tricot updated RAVE-621:
--------------------------------

    Attachment: RAVE-621.patch

A good way to enforce "trimDirectiveWhitespaces" in all *.jsp and *.tag files is to add this
piece of configuration in the web.xml:

<jsp-config>
    <jsp-property-group>
        <url-pattern>*.jsp</url-pattern>
        <trim-directive-whitespaces>true</trim-directive-whitespaces>
    </jsp-property-group>
    <jsp-property-group>
        <url-pattern>*.tag</url-pattern>
        <trim-directive-whitespaces>true</trim-directive-whitespaces>
    </jsp-property-group>
</jsp-config>

Also see the patch attached.
                
> trimDirectiveWhitespaces JSP directive being ignored
> ----------------------------------------------------
>
>                 Key: RAVE-621
>                 URL: https://issues.apache.org/jira/browse/RAVE-621
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.11
>            Reporter: Anthony Carlucci
>            Assignee: Anthony Carlucci
>            Priority: Minor
>         Attachments: RAVE-621.patch
>
>
> The trimDirectiveWhitespaces="true" JSP page directive is being ignored.  HTML content
still has large sections of empty whitespace that is not getting stripped out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message