[Logo]
Forums Register Login
Struts and SQL Injection.
Hi,

I want to know that does Struts prevents from SQL Injection? If yes then how? Thanks!
 

pawan chopra wrote:Hi,

I want to know that does Struts prevents from SQL Injection? If yes then how? Thanks!



No, it isn't Struts responsibility to prevent SQL injection.

Mark
No, SQL injection is not related to Struts or any web frameworks, you can prevent SQL injection by using PreparedStatement.
 

Kengkaj Sathianpantarit wrote:No, SQL injection is not related to Struts or any web frameworks, you can prevent SQL injection by using PreparedStatement.



Can you suggest me any link? Thanks!
http://google.com/search?q=preparedstatement+tutorial+site:sun.com
There are some pointers on the JavaRanch Security FAQ
You've gotta fight it! Don't give in! Read this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 2962 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 21, 2018 18:20:41.