Possible Duplicate:
Java - escape string to prevent SQL injection
I know php has a function called "addslashes()" which is fairly effective, but does Java Server Pages (JSP) have an equivalent when dealing with forms?
Possible Duplicate:
Java - escape string to prevent SQL injection
I know php has a function called "addslashes()" which is fairly effective, but does Java Server Pages (JSP) have an equivalent when dealing with forms?
See this answer on howto prevent SQL injection Java - escape string to prevent SQL injection