Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using Ms access and jdbc not able to get the output

 
shanthi naidu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all i am using microsoft access for the 1st time.. before that i used oracle 9i and sql server.. i also want to deal with access database ..i just simply want to insert two values in my datatable created in access..

my DNS name is "db1" and my datatable name is "DriverDetails"

The code goes like this..




and my servlet code is...




The problem is when i insert values in the html page and click on the submit button i am only getting the output as "hello"

Please suggest me what to do..

thanks,
Shanthi Naidu.
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not committing the update, nor do you close the connection. Doing either of those things should cause the update to be visible. However closing the connection is mandatory in web applications. I'm surprised you haven't run into problems with Oracle, if you didn't close your connections.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic