• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

using Ms access and jdbc not able to get the output

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic