[opencms-dev] page ugliness

Christoph P. Kukulies kuku at physik.rwth-aachen.de
Sat May 26 15:41:35 CEST 2007


On Fri, May 25, 2007 at 12:13:03PM +0200, Sami Nygard wrote:
> In case of Tomcat you could also look into the following parameter
> (web.xml):
> 
>        <init-param>
>                <param-name>trimSpaces</param-name>
>                <param-value>true</param-value>
>        </init-param>
> 

Your suggestion sounds like being the best solution but the following
addition to web.xml in $TOMCAT_HOME/conf/web.xml doesn't seem to have any
effect. Or is it in the wrong section?


    <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>

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de




More information about the opencms-dev mailing list