Re: Excess whitespace generated

2008-07-11 Thread bisoa
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

Re: Excess whitespace generated

2008-07-10 Thread Konstantin Kolinko
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

Re: Excess whitespace generated

2008-07-10 Thread Jonathan Mast
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

RE: Excess whitespace generated

2008-07-10 Thread Caldarale, Charles R
> 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

Re: Excess whitespace generated

2008-07-10 Thread Jim Cox
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

Re: Excess whitespace generated

2008-07-10 Thread Mark Thomas
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