Write JSP pages without spacing. For example,
the following codes coding tricks. Note the end and
start of coding lines;
=
<%@ page session="false" %><%@
page import="java.util.*" %><%@
page import="java.awt.Color" %><%@
--
View this message in context:
ht
2008/7/10 Mark Thomas <[EMAIL PROTECTED]>:
> Jonathan Mast wrote:
>>
>> I'm writing a jsp to return out a simple xml document and it is being
>> preceded by quite a few line breaks, causing my test parser to fail.
>>
>> The page simply calls out.println(xmlstring);
>>
>> Is there another way to con
Thanks, that did the trick!
On Thu, Jul 10, 2008 at 1:08 PM, Jim Cox <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast <
> [EMAIL PROTECTED]>
> wrote:
>
> > I'm writing a jsp to return out a simple xml document and it is being
> > preceded by quite a few line breaks, ca
> From: Jonathan Mast [mailto:[EMAIL PROTECTED]
> Subject: Excess whitespace generated
>
> I'm writing a jsp to return out a simple xml document and it is being
> preceded by quite a few line breaks, causing my test parser to fail.
Setting the trimSpaces param to true in the jsp declaration in
c
On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast <[EMAIL PROTECTED]>
wrote:
> I'm writing a jsp to return out a simple xml document and it is being
> preceded by quite a few line breaks, causing my test parser to fail.
>
> The page simply calls out.println(xmlstring);
>
> Is there another way to co
Jonathan Mast wrote:
I'm writing a jsp to return out a simple xml document and it is being
preceded by quite a few line breaks, causing my test parser to fail.
The page simply calls out.println(xmlstring);
Is there another way to control precisely the contents returned by a JSP?
1. Use a serv