[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
Men call me Jim. Women look past me to this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database


This thread has been viewed 3220 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 21, 2019 05:11:32.