You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mendez, Eric" <EM...@ahs.llumc.edu> on 2005/03/18 18:16:50 UTC

Issue displaying empty Strings as null

I recently installed Apache/Tomcat v 4.1.31 on my server, and I have several JSP sites that extract values from an Oracle database, if the value in the database is an empty String (""), it returns as a null value in my JSP page. The server has JDK v. 1.4.2. Any ideas will help.

Thanks

Confidentiality Note:

The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Issue displaying empty Strings as null

Posted by Pedro Arana <pe...@gmail.com>.
In Oracle the Empty String is equal to null value


On Fri, 18 Mar 2005 09:16:50 -0800, Mendez, Eric <EM...@ahs.llumc.edu> wrote:
> I recently installed Apache/Tomcat v 4.1.31 on my server, and I have several JSP sites that extract values from an Oracle database, if the value in the database is an empty String (""), it returns as a null value in my JSP page. The server has JDK v. 1.4.2. Any ideas will help.
> 
> Thanks
> 
> Confidentiality Note:
> 
> The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org