Possible Duplicate:
Java - escape string to prevent SQL injection
I know php has a function called "addslashes()" which is f开发者_如何学Cairly 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
精彩评论