This sounds like an HTML question. Textareas have an attribute called wrap.
When set to virtual (wrap="virtual") a single line of text is sent to the
server (assuming the user hasn't pressed the enter key on their own).


----- Original Message -----
From: Barbara Johnson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 15, 2001 8:46 AM
Subject: servlets and textareas


> Hello servlet programmers,
> I am writing a  servlet program that uses a series of forms to insert data
> into a database.
> Could someone help with getting rid of control characters that are somehow
> inserted
> when I use textareas for user input into a database. I have gotten rid of
"
> and '
> by using URLEncoding but it doesn't get rid of control characters
(carriage
> returns and tabs)
> that are somewhat randomly inserted into textareas(this only happens with
> textareas and not
> textfields). In my internet such I have found many others that have this
> question and no one
> received answers.Your help would be greatly appreciated.
> Thank you,
> Barbara Johnson
> Instructional Applications Programmer
> [EMAIL PROTECTED]
> Northeastern Ohio Universities College of Medicine
>
>
___________________________________________________________________________
> 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

Reply via email to