Hi
I think that the problem is in the html and not in the base. Try to look at
the generated html code with the option in the context menu. If the lines
are "cutted" in the code, the problem is the html. If not I don�t know the
reason of that problem.
In the first case, you have two options:
1� to write a function that replaces "\n" character by "<br>"
2� To concat labels <pre></pre> to both sides of the data
Regards
PD: Sorry for my english ^_^
-----Mensaje original-----
De: Gemma Montero <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Fecha: lunes, 02 de julio de 2001 14:45
Asunto: Problems with new lines
>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
===========================================================================
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