wood burning stoves 2.0*
The moose likes JDBC and the fly likes Keeping quotes from column in my table? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Keeping quotes from column in my table?" Watch "Keeping quotes from column in my table?" New topic
Author

Keeping quotes from column in my table?

Moined Mogul
Ranch Hand

Joined: Jul 11, 2001
Posts: 33
Does anyone know how I could ensure that quotes were never permitted to be added into my database table where the input is coming from user input in a JSP???
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

can you not just check for a quote in the String before you insert into the database?

Jamie

[This message has been edited by Jamie Robertson (edited August 08, 2001).]
 
 
subject: Keeping quotes from column in my table?
 
Similar Threads
How to escape quote characters (")?
SQL syntax
Creating an HTML table in a Bean
Escape single quotes
dynamic jsp page (can't include %>)