Link to home
Start Free TrialLog in
Avatar of g118481
g118481

asked on

How can I format text?

I have a form that has several fields in it.
One field is a textarea (VarChar) field, that the user can paste many lines of data into.
Then this form actions to a JSP that writes the record to a DB2 table.
Just like this question area for EE.

My problem is that when the user paste their data, and after it gets written to the DB2 table, I then display the record for a technician to work the request, when the technician views the record it all runs together.

How can I change my code to display the pasted data just like it was put in by the customer?
ASKER CERTIFIED SOLUTION
Avatar of rrz
rrz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of g118481
g118481

ASKER

There are line breaks from the textarea form field.
However, the record display for the technician is not done using the textarea form field.
I am simply outputing it from a select query.

(i.e.   <%= REQTEXT %>)