[opencms-dev] opencms - white spaces

Tom Wolf twb15 at hotmail.com
Fri Oct 12 13:22:25 CEST 2012


tomcat has a config file called: web.xml
there, in the JSP area, you can add a directive called: trimSpaces with value true.
This did the work for me best

From: r.guido at synclab.it
Date: Thu, 11 Oct 2012 18:02:58 +0200
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] opencms - white spaces

hi micheal,i tried it right now, but i have not a good result.
Do you know some method else?
thanks a lot.


2012/10/11 Michael Emmerich <m.emmerich at alkacon.com>


Raffaele,



I don't know the htmlcleaner module, but if you use Tomcat (a version that is not too old), try the



trimDirectiveWhitespaces="true"



attribute in your JSPs like this



<%@page trimDirectiveWhitespaces="true" ...... %>



This will remove all whitespaces in the HTML output.







Am 11.10.2012 17:42, schrieb Raffaele Guido:


hi all,

i have to clean white spaces from my html page.



I downloaded the htmlcleaner module but the documentation doesn't

explain how to clean the white spaces.

Can someone explain to me how to do it, please?



thank you

--

Raffaele Guido





_______________________________________________

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/cgi-bin/mailman/listinfo/opencms-dev










-- 

Kind Regards,

Michael.



-------------------



Michael Emmerich



Alkacon Software GmbH  - The OpenCms Experts

http://www.alkacon.com - http://www.opencms.org

_______________________________________________

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/cgi-bin/mailman/listinfo/opencms-dev









-- 
Raffaele Guido



_______________________________________________
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/cgi-bin/mailman/listinfo/opencms-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20121012/d796a38f/attachment.htm>


More information about the opencms-dev mailing list