RE: URGENT: Null Strings in Websphere

2002-02-14 Thread Andre Beskrowni
e(); if you think this is the source of your problem, please read the java tutorial chapter on JDBC asap. ab -Original Message- From: Phillips, George H. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 3:20 PM To: 'Struts Users Mailing List' Subject: RE: URGENT:

RE: URGENT: Null Strings in Websphere

2002-02-12 Thread Phillips, George H.
We had a similar problem. Although we were actually getting spaces back from our DB, we were seeing "null" displayed on our jsp's. We fixed it by explicitly initializing our String fields in our result beans to " " rather than letting them default to null. I don't know *why* this worked, since

RE: URGENT: Null Strings in Websphere

2002-02-12 Thread Keith
Dinocourt [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 10:43 AM > To: Struts Users Mailing List > Subject: Re: URGENT: Null Strings in Websphere > > > I might be wrong, but it seems to me that this standard Java > behavior > When your String is null and

RE: URGENT: Null Strings in Websphere

2002-02-12 Thread Dave J Dandeneau
m: Olivier Dinocourt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 10:43 AM To: Struts Users Mailing List Subject: Re: URGENT: Null Strings in Websphere I might be wrong, but it seems to me that this standard Java behavior When your String is null and you try to print it, it displays

Re: URGENT: Null Strings in Websphere

2002-02-12 Thread Olivier Dinocourt
I might be wrong, but it seems to me that this standard Java behavior When your String is null and you try to print it, it displays the String value "null". A workaround might be to force all empty Strings to be "" instead of null... - Original Message - From: "Dave J Dandeneau" <[EM

RE: URGENT: Null Strings in Websphere

2002-02-12 Thread Galbreath, Mark
I had the same problem about a month ago (and a colleague had this problem just yesterday) and someone posted a solution either here or on servlet-interest. Search the archives on both groups. Mark -Original Message- From: Dave J Dandeneau [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Febru