Hi,
you can use prepared statements or you can escape the characters by giving
something like \'.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Venkata Ratnam
Vadlamannati
Sent: Sunday, January 07, 2001 4:50 AM
To: [EMAIL PROTECTED]
Subject: Inserting special characters
Hi all
Can anybody suggest me how to insert into a text
column with text such as "abc's question", "he said "I
am not a culprit", it's your fault" etc.,
I'm using jdbc-odbc drivers for sql7.0. and HTML forms
with JSP to process backend.
As the string is with characters such as ", ', normal
insert statement fails
please suggest me a workaround to do the above
thanks in advance
Venkat
PS:Plese email your suggestions directly to
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
===========================================================================
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