"Kirkdorffer, Daniel" wrote:

> That's interesting because WebSphere 2.02 doesn't do that with the following
> example:
> out.print(ServletUtil.toString( requestData.getColValue(1, "ref_id") ));
>
> not out.println(...)
>
> So why the difference?  Is this determined by the implementation, or is my
> example different because I'm not going after "session", but a bean?

As I understand it, most engines followed the JSP Reference implementation - how
it did it was how they did it. But the spec for 1.0 and 1.1 (in section 4.4) do
say that an expression (which is <%=) should generate out.print - not
out.println. So this person shouldn't be having the problem if they are using
1.0, but chances are they still are.


--
Richard Vowles, Senior Systems Engineer,
Inprise New Zealand
MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
HTTP: http://www.esperanto.org.nz
[my messages contain my own opinions, not those of my employer]

===========================================================================
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