The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Displaying text string using MySQL, JSP and Tomcat

Posted by Adrian on June 24, 2001 at 9:20 AM

Hi,

I am currently trying to display a text string I have placed in a MYSQL table using JSP and Tomcat. I am having a few problems though. The connection is fine and when it is displayed the string is displaying goobldy gook like this - [B@80dd124

Yet when I change the database from a text string to a varchar or char string it displays fine. I want to use the text string as others will be inputing data in. Any ideas as to why this might be happening? Can someone please help me?

Thanks



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us