aspose file tools*
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 Spring in Action this week in the Spring 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).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Keeping quotes from column in my table?