[opencms-dev] (silly question ?) Why so many white space in sources ?

Manfred Schenk manfred.schenk at zerobyte.de
Wed Aug 3 19:14:27 CEST 2011


Okay, 
my current opencms installation is running under an older tomcat version so I was not used to this feature. Good to know for the future.

Regards,
Manfred

--
| Manfred Schenk              | born between RFC638 and RFC640
| PGP-Keys unter              |
| http://www.ZEROByte.de/pgp/ | WWW: http://www.ZEROByte.de/
________________________________________
Von: opencms-dev-bounces at opencms.org [opencms-dev-bounces at opencms.org] im Auftrag von A.Kuckartz at ping.de [A.Kuckartz at ping.de]
Gesendet: Mittwoch, 3. August 2011 17:06
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] (silly question ?) Why so many white space in        sources ?

Manfred Schenk writes:

> If you use whitespaces in your jsp to make it
> readable by humans, these whitespaces might
> appear also in the generated pages. This is
> also true for "new-lines".
> To prevent this, one has to set aside the goal
> of having pretty-formatted human-readable
> jsp-source-code.

No.

Please have a look at trimDirectiveWhitespaces (specified in JSP 2.1 and
implemented in Apache Tomcat 6).

Cheers,
Andreas

_______________________________________________
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