[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

This thread has been viewed 3136 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 18, 2018 01:45:45.