3 Replies Latest reply on Dec 2, 2002 8:08 PM by Blair Koch

    Why I get null always?

    dudoes Newbie

      I use Jboss3.0.1RC1/Tomcat4.0.4£¬I have got a strange problem:

      System display "null" on page When a String gotten from DB is empty.

      I hate "null", I can accept a empty String, "",etc.,rathen than a string whose content is "null".

      Weblogic6.1 have not the same problem.

      How can i set System to return a empty String instead of a "null" String? because it destoy my page.

      Must I check every String if it is empty and convert it to a empty String by myself,not to a "null" String automatically by system?


      I need your help.


      thanks