You could try to get it to work correctly in plain HTML and then go back to
the servlet.
Have you set the desired width of your table cell such as <td width=200>?
Have you mistakenly used the "nowrap" keyword?
Does your test string have spaces in it which will allow it to wrap?
----- Original Message -----
From: Hunter Hillegas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 22, 1999 5:09 PM
Subject: HTML Output Question --- Sometimes the dumbest things bug me the
most...
I have a database type of TEXT that I get using rs.getString(). I then send
that to the client... The problem is that the text comes as one long line
and I can't get it to wrap on the browser... Any ideas on how to wrap a long
string correctly?
Instead of this:
Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test
I want this:
Test Test Test Test Test Test Test Test Test Test
Test Test Test Test Test Test Test Test Test Test
This is inside a table cell that expands to fit the long string of text...
Very annoying...
Any ideas are appreciated.
Hunter
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html