What kind of tags are you getting this behavior with? In my iteration tags I
am using the following code in doAfterBody and I am not getting the same
results.
try{
getBodyContent().writeOut(getPreviousOut());
getBodyContent().clearBody();
}
catch(IOException e){
throw new JspException(e.toString());
}
----- Original Message -----
From: "Peter Dolukhanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 1:19 PM
Subject: Linebreaks
> Dear All,
>
>
>
> After doing a lot of work with Custom Tags, the generated HTML files
> seem to have a huge amount of line breaks and spaces in. Does anyone
> know of any methods, or perhaps a servlet filter which may reduce the
> size of the generated HTML file?
>
>
>
> Regards,
>
> Peter Dolukhanov
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
> http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
> http://forums.java.sun.com
> http://www.jspinsider.com
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com