File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Keeping quotes from column in my table?
 
Similar Threads
Escape single quotes
SQL syntax
dynamic jsp page (can't include %>)
Creating an HTML table in a Bean
How to escape quote characters (")?