Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connecting to a database through servl  RSS feed

 
Ranch Hand
Posts: 82
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've developed this servlet for dealing with a database

and this is the the code for HTML file

I've made a jdbc-odbc driver for my database and name it Address and use this driver to be able to deal with the database
but when i run this web application it give me a syntax error as follow:
Error: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
why???

 
Author and ninkuma
Marshal
Posts: 66352
155
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the JDBC forum. Nothing to do with Servlets.
 
Sheriff
Posts: 22968
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is that "E-mail" isn't a valid column name.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you give the table structure
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!