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".

Reply via email to