Hi,

In HTML and XML, white space is usually not significant, with some
exceptions. One
exception is that an XML file must start with the characters <?xml, with no
leading
whitespace characters.
JSP specification follows the whitespace behavior defined for XML, that is;
all white space
within the body text of a document is not significant, but is preserved.

--------
JSP file
-------------------------------------------
<?xml version="1.0" ?>
<%@ page buffer="8kb" %>
The rest of the document
------------------------------------------

-----------------------
result HTML/XML file
------------------------------------------
<?xml version="1.0" ?>

The rest of the document
-----------------------------------------

For more details, refer JSP Specification.

Regards,
Santosh,

----- Original Message -----
From: Thomas Kwan <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Monday, January 15, 2001 3:37 PM
Subject: orion generates extra lines in the returned result


> Anyone knows how to get rid of the extra lines in HTML pages
> that are generated from Orion server?
>
> I am using jsp to dynamically return a file to the browser. The
> file somehow has 30-something empty lines in the begining. And
> I remember seeing this behaviour in the HTML pages also.
>
> thanks
> thomas
>
>
>


Reply via email to