<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I don't understand how to place your block.<br>
<br>
In my pages it seems that the use of jstl create many blank lines.<br>
<br>
Francis<br>
<br>
Isaac R. Higgins a écrit :
<blockquote
 cite="mid:8119B1EC8E920743B0DA581F5C33815002A917@schizo00.isaacray.com"
 type="cite">
  <pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> on behalf of Christoph P. Kukulies
Sent: Thu 5/24/2007 8:58 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a>



  </pre>
  <pre wrap="">
<hr size="4" width="90%">

_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
</body>
</html>