[opencms-dev] page ugliness
Francis
ffraikin at met.wallonie.be
Thu May 24 15:48:23 CEST 2007
I don't understand how to place your block.
In my pages it seems that the use of jstl create many blank lines.
Francis
Isaac R. Higgins a écrit :
> I have the same pet peeve.
>
> I usually do it like this:
>
> <% /*this is jsp block #1*/ %><%
> /*this is jsp block #2*/ %><%
> /*this is jsp block n*/ %>
>
>
> By removing the newline/whitespace between JSP blocks, it's not translated to the page as anything outside the jsp code tags will be parsed as plain HTML.
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org on behalf of Christoph P. Kukulies
> Sent: Thu 5/24/2007 8:58 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] page ugliness
>
> I always wondered where all the blank lines come from in my generated
> page output.
>
> It seems that for every newline in a jsp section, be it <% %> embedded
> code or <&tags %> that newline is transported into the output page.
>
> This is ugly, I think, and I'm seeking for a way to avoid that. Removing
> newlines in code section makes it hardly legible on the other hand.
>
> I'm hoping there is a switch (in jsp) to suppress new lines as long as
> they belong to jsp sections.
>
> Comments?
>
> --
> 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
>
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070524/48cb5a7b/attachment.htm>
More information about the opencms-dev
mailing list