Orion used to print these as "" instead of null, so nothing would show. But that changed at about 1.4 or so. To get around this issue, each bean that you use in a jsp should initialize all strings with "". This way, when you reference a string <%=mybean.getMystring()%> it will always have a non-null value.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Harley Rana
Sent: Thursday, June 21, 2001 4:14 PM
To: Orion-Interest
Subject: RE: Null values in Jsp page

This is not a bug but a normal Java function. 

Try and print System.out.println() with a null string and the same will happen in any program.

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marc SCHNEIDER
Sent: Wednesday, June 20, 2001 8:49 AM
To: Orion-Interest
Subject: Null values in Jsp page

 

Hi,

 

There is something strange with Orion 1.5.2 : when I print a variable which contains a null value in a Jsp page, Orion prints "null" instead of an empty string.

This doesn't appends with the previous version of Orion I had (1.4.5).

 

Does anybody know how to solve this problem ?

 

Regards,

Marc SCHNEIDER

Reply via email to