Hi, 
I dont know if you are using JSP to render your HTML but if you are
maybe this will help 

if your page looks like this : 
------------------------------------
<%@ page import="java.lang.*"%>
<% 
//some code
%>
<html>HTML tags&content</html>
-------------------------------------
you�ve already put 2 newlines into your html page :
sometimes this is what causes it to happen. 
------------------------------------
<%@ page import="java.lang.*"%>[\n]
<% 
//some code
%>[\n]
<html>HTML tags&content</html>
-------------------------------------

what you can do is reformat your jsp like this : 

------------------------------------
<%@ page import="java.lang.*"%><% 
//some code%><html>HTML tags&content</html>
-------------------------------------

often all the newline chars that you have in the top of your page are
rigth after some <taglib /> tags an such. 

hope it helps
[EMAIL PROTECTED]




> -----Original Message-----
> From: Jason Webber [mailto:[EMAIL PROTECTED]]
> Sent: 25. febr�ar 2002 18:34
> To: [EMAIL PROTECTED]
> Subject: Added newlines in beginning
> 
> 
> Is there anyway to get rid of about 10 newlines that show up before my
> output actually begins?  I have looked all through my code and I don't
> believe that they are coming from my code.  Anybody else have 
> this problem?
> Any suggestions appreciated.  It is now a problem now that I 
> am writing csv
> files to out.
> 
> Windows 2000
> Apache 1.3.22
> Tomcat 3.3
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to