I am a Java Servlet "Newbie", but I've solved this problem in other systems before by replacing characters by ansi character code; the tab character is 9 for example.
Hope this is a help, Colin ----- Original Message ----- From: "Barbara Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 15, 2001 7: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