[opencms-dev] page ugliness

Jordi Martí jmarti at theinit.com
Tue May 29 11:09:20 CEST 2007


Hello Christoph, the solution should work, at least since tomcat 5.5... In
tomcat 5.0 works in a slightly different way (not the best one, by the way).

Hope you find more info in this page.

http://raibledesigns.com/rd/entry/trim_spaces_in_your_jsp


   

JORDI MARTÍ 
Email: jmarti at theinit.com
Tlfno: 944.158.685- Fax: 944.153.424
Skype ID: jmarti.theinit
PRIVADO Y CONFIDENCIAL
Este mensaje va dirigido a la persona(s) indicada(s). Puede contener 
información confidencial de carácter legal o personal de THE INIT SERVICES,
La transmisión errónea del presente mensaje en ningún momento supone
renuncia a su confidencialidad. Si el lector del mensaje no es el
destinatario indicado, o el empleado encargado de su entrega a dicha
persona, por favor, notifíquelo inmediatamente por teléfono y remita el
mensaje original a la dirección de correo electrónico indicada. Cualquier
copia o distribución de esta comunicación queda estrictamente prohibida.



-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
En nombre de Christoph P. Kukulies
Enviado el: sábado, 26 de mayo de 2007 15:42
Para: The OpenCms mailing list
Asunto: Re: [opencms-dev] page ugliness

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


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list