I am talking abt generated output(HTML/csv/email/whatever). If 
the question was abt generated java code, nobody should care.

The generated output contains newlines for every <% %> enclosure 
in the JSP. And if you are generating anything other 
than HTML output, thats likely to cause a problem.

We did this for our export to exel feature...

cheers
-jayash



-----Original Message-----
From: Thad Humphries [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 11:05 AM
To: Struts Users Mailing List
Subject: Re: Extra Lines in Compiled JSP


Why care about how generated code looks?  This approach makes the code you 
maintain harder to read.

On Friday 20 February 2004 14:01, Gopalakrishnan, Jayesh wrote:
> I must have had the same dream !!
> I remember that tomcat config thing......and not too
> long ago. I am surprised you couldn't find it.
>
> We had to do something like this though, for weblogic.
>
> <%@ taglib uri="xxx" prefix="bean"
> %><%@ taglib uri="/display" prefix="display"
> %><%@ taglib uri="xxx" prefix="html"
> %><%@ taglib uri="xxx" prefix="nested"
> %><%@ taglib uri="xxx" prefix="tiles"
> %><%@ page language="java"
> %><%@ page contentType="text/html; charset=UTF-8"
> %><% your code continues.....%>
>...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to