Right! :^)
Dan
> ----------
> From: Foster Bob[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Thursday, May 06, 1999 7:07 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Use of out.println () for <%=
>
> Yes, your examples show exactly what the problem is. :) If your JSP source
> is:
>
> test expr [<%=abc"%>]
>
> The translator should produce source like:
>
> test expr [abc]
>
> Not:
>
> test expr [abc
> ]
>
> It's a bug.
>
> Bob Foster
> Symantec Internet Tools http://www.visualcafe.com/
>
> ______________________________ Reply Separator
> _________________________________
> Subject: Re: Use of out.println () for <%=
> Author: "Kirkdorffer; Daniel" <[EMAIL PROTECTED]> at Internet
> Date: 5/6/99 4:12 PM
>
>
> Bob,
>
> But wouldn't this produce page source that looks like this:
>
> test expr [abc
> ]
>
> And if you created a page with:
>
> <p>test expr [abc
> ]
>
> <p>test expr [abc]
>
> This DOES render like this:
>
> test expr [abc ]
>
> test expr [abc]
>
> At least it does in NN 4.5 and MS IE 4.0 on my Win NT box.
>
> Dan
> --
> Daniel Kirkdorffer, NACN IS
> Sr. Consultant, Syllogistics LLC
> Email: [EMAIL PROTECTED]
> Web: http://www.syllogistics.com/
>
>
> > ----------
> > From: Foster Bob[SMTP:[EMAIL PROTECTED]]
> > Reply To: [EMAIL PROTECTED]
> > Sent: Thursday, May 06, 1999 4:10 PM
> > To: [EMAIL PROTECTED]
> > Subject: Use of out.println () for <%=
> >
> > The reference implementation uses out.println() for JSP expressions,
> e.g.,
> >
> > test expr [<%=abc"%>]
> >
> > translates to something like:
> >
> > out.write("test expr [");
> > out.println("abc");
> > out.write("]\r\n");
> >
> > This appears in a browser as:
> >
> > test expr [abc ]
> >
> > Note space before ]. This seems a pretty clear violation of 5.4(3):
> >
> > An expression is transformed into a Java statement to insert the value
> > of
> > the expression, converted to java.lang.String if needed, into the
> stream
> > currently named by the implicit variable out. No additional newlines
> or
> > space is included.
> >
> > (Thanks to Alex Vernet.)
> >
> > Bob
> >
> >
> ==========================================================================
> > =
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> > body
> > of the message "signoff JSP-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
> >
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".