peace of code. I mean, java core classes
should be doing this automatlically for us. I think we are duplicating code.
- Original Message -
From: Oren Deri, Nice-Eye <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 7:30 AM
Subject: Problem with JspWriterIm
Hi Oren,
--- "Oren Deri, Nice-Eye" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> when printing in jsp some String that is null
> (String str = null;)
> the output html is the string "null".
> Look at the code of JspWriterImpl.print(String s)
>
> public void print(String s) throws IOException {
>
08, 2001 4:30 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with JspWriterImpl
>
>
>
> Hi,
>
> when printing in jsp some String that is null (String str = null;)
> the output html is the string "null".
> Look at the code of JspWriterImpl.print(String s)
>
Hi,
when printing in jsp some String that is null (String str = null;)
the output html is the string "null".
Look at the code of JspWriterImpl.print(String s)
public void print(String s) throws IOException {
if (s == null) {
s = "null";
}
write(s);
}
w