I will consider implementing a filter to remove the empty lines before the <html> tag.
For now I eliminated most of the empty lines by changing: <[EMAIL PROTECTED] import="..." %> <[EMAIL PROTECTED] language="Java" %> <jsp:include page="foo.jsp" /> <jsp:include page="bar.jsp" /> <jsp:include page="baz.jsp" />
to:
<[EMAIL PROTECTED] import="..." language="Java" %><jsp:include page="foo.jsp" /><jsp:include page="bar.jsp" /><jsp:include page="baz.jsp" />
Ugly, but at least there is one directive per page.
It would be great if the JSP compiler would not output new lines for lines containing only JSP directives. I will fill a feature request for this.
I doubt you will get far with such a feature request. If you consider what the JSP is doing, you'll see it's only doing it's job. The new line is in the JSP!
It's nothing to do with the tag / page directive. Asking the tag or page directive not to output a new line afterwards is like asking it to scan ahead in the JSP to determine what comes next, and if it's a new line, please delete it.
Adam
-- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
