Hi Zafar

I wrote this very simple method
public final static String getString(String pOriginal) {if (pOriginal ==
null) return new String();return pOriginal;}

and i use it to retrieve strings that can be null, getting in this case a
new string.

bye bye

Giorgio




----- Original Message -----
From: "zafar Ahsan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 8:16 AM
Subject: Pls help me !! Urgent!


> hello
> Can any one pls let me know how to deals with null that result set returns
when quering from an oracle database. its display "null" when using
rset.getString() method and i want it to be either 0 or " "(nothing).Am
novice to java and tomcat and null being a special literal in java cosing me
problem to get up to my work.
> I would be very thankful for yr kind help.
> And if don't mind pls let me also know how to start tomcat server through
windows server2000 services.
> Md. Zafar Ahsan
>
>
> _____________________________________________________________
> Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
> http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to