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

A.Kuckartz at ping.de A.Kuckartz at ping.de
Wed Aug 3 17:06:01 CEST 2011


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 



More information about the opencms-dev mailing list