[opencms-dev] trim whitespaces from jsp template

Robert Weber closingtag at googlemail.com
Fri Apr 8 11:43:46 CEST 2011


Hi Tobias, hi Florian,

@Tobias

I cannot use this directive because my JSP Version is 2.0 as this directive
is only Version 2.1

@Florian

I inlcuded this:

    <servlet>
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>xpoweredBy</param-name>
            <param-value>false</param-value>
        </init-param>
        <init-param>
            <param-name>trimSpaces</param-name>
            <param-value>true</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>

within my gloabl web.xml under the conf-directory of the tomcat but there
are still many blank lines within my HTML-Code.

Cheers!
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110408/ecabe9f7/attachment.htm>


More information about the opencms-dev mailing list