Hi all,
I have a jsp page with a form which has a textarea to insert data in an
Informix varchar field .
When I write anything in the textarea and send to de database all the
data are correct, except it ignores the new line symbols. With the rest
of chars it works fine.
I dont know if i am using the correct sentences.
When I insert the data I use:
String queryinsertreg = "INSERT INTO table(field) VALUES('" +
URLEncoder.encode(fieldvalue) + "')";
To retrieve data:
<%= URLDecoder.decode(field) %>
What could be the problem?
Thanks
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets