Have you noticed the same behavior using the XML friendly equivalent?
like <jsp:scriptlet> vice '<%%>'?

=====================================
James Birchfield
Chief Technology Officer
[EMAIL PROTECTED]
http://www.proteus-technologies.com
=====================================

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Young
> Sent: Thursday, January 27, 2000 3:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: extra "returns" in generated page
>
>
> not *every line*, just those with delimited with  <%  and  %>  &
> <%@  and  %>.
> doesn't affect lines with expressions [<%= xxxx %>].  as to why,
> i don't know.
> i'm running NT4/SP4 jswdk1.0.1 [just the embedded
> servlet-runner/jsp engine].
>
> robert young
>
> On Wednesday, January 26, 2000 13:31, George Pearson
> [SMTP:[EMAIL PROTECTED]] wrote:
> > I've noticed that an extra "return" character is added to
> *every* line in my
> > jsp-generated pages.  The uncompiled pages contain a carriage return
> > and linefeed on every line of HTML; the generated page contains TWO
> > carriage returns and a linefeed on every line.
> >
> > Why does this matter?  The pages I'm generating are in WML, Wireless
> > Markup Language, and there's a limit of roughly 1200 bytes that can be
> > sent in one page.  Thus every byte is worth its weight in gold.  I can
> > easily remove the extraneous returns from my source files, but I also
> > need to eliminate those introduced by the generation process.
> >
> > Anyone know how to do it?
> >
> > I'm seeing this using jsp pages under Java Web Server 2.0 running on
> > Windows NT.  (The same happens with jhtml pages with the latest JWS 1.1
> > and with JWS 2.0 on NT.)
> >
> >
> ==================================================================
> =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to