[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
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 3070 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 15, 2018 13:24:57.