By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,738 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,738 IT Pros & Developers. It's quick & easy.

Allow special characters in Input text.

P: 3
Hi ,

I have a small application built using the JSP/Bean model and using MS Access as database.
I have a page where the user can enter the errors and exceptions that the user is facing and submit it.
The problem is whenever the data that the user enters contains special character like apostrophe( ' ) it screws up the PreparedStatement line in the Bean where it conflicts with the ' "+string+ " ' in the query.

Javascript validation cannot help as the apostrphe should be acceptable

Please help.
Thanks
Dec 5 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.