I have a form in jsp and if someone enters special character (like single quote ') in text field (ex L'orel) and submit, it gives a error. I know this is a special character conflict, but how can I override special characters by submitting a form through JAVA. Is there any way to submit such data in sql?
One thing to be noticed here is that if there are 10 text boxes in a form, we don't know in which text box user will enter special character.
Does anyone has any idea how it will be possible.