Hi,
I apologize it might be a wrong place to post the
question, but since it's the only list I know ...
You know when you insert a'b into db, you got to
change it to a''b, our value is from jsp, so I have
this
request.getParameter("p_location_name").toUpperCase().trim(),
in case there is ' in it, I need to replace it with
''. How to do this in jsp, I tried
string.replace('\'','\'\''), replace("'","''"),
replace("\'","\'\'"), all sorts stuff and doesn't
work. We are using jdk 1.3.1. Any suggestion??
Thank you!
Janet
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Janet Linsy
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).