Noticed you used println() -- this will insert a carriage-return. Both IE
5.0 & Netscape 4.51 will render this as a space. Its the [undesire] behavior
from the browser not JSP engine.
>From: Foster Bob <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Use of out.println () for <%=
>Date: Thu, 6 May 1999 16:10:08 -0700
>
>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".
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
===========================================================================
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".