If you have something like:
<%!
%>
<jsp:useBean ...
</jsp:useBean>
<%
%>
<html>
</html>

There will be 3 empty lines in the result before <html>.
To avoid that you have to format your code like that:
<%!
%><jsp:useBean ...
</jsp:useBean><%
%><html>
> -----Ursprungliche Nachricht-----
> Von: wtonetwork.com [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 23. Mai 2001 15:37
> An: [EMAIL PROTECTED]
> Betreff: Re: Urgent question on extra line with Tomcat Jsp
> 
<snip/>
> > > I have encounter a strange behaviour with Tomcat 3.2
> > > When I use jsp to output a line to html or other format.
> > > The resulting page will append a line before the content.
> > > this make some of my applications work inproperly as they parse
> > > the content uncorrectly.
> > > Does any one encounter similar situation??
> > > How can I determine if it is the problem of Tomcat or other
> > > parts??
<snip/>

Reply via email to