• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

How to access and AccessDB from HTML?  RSS feed

Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have an intranet HTML page, currently with links to PDFs and files on an App server and and i'm wondering how i can now use that HTML page to access and Access database and create, insert, update and delete records on that database?

For instance, would i use an Applet or Swing or are can they be one and the same?

Thanks very much!
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You must have a Web Server like Tomcat or anyother if you want to connect to any Database.

Posts: 42974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "BobC"-

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

As to your question, applets are a way to run Java applications as part of a web page in the browser. They can be programmed in either of the two Java GUI toolkits, AWT or Swing. The Applets FAQ has links to introductory material using both of them.

It is generally possible to have applets access DBs, but since they run under certain security restrictions, the DB either needs to be on the same server that serves the web page with the applet, or you need to apply some workarounds.

I'm not sure what the previous poster meant - if you have a web page, then obviously you have a web server, and that server can serve applets as well. Beyond that, it does not need to do anything.
[ April 04, 2006: Message edited by: Ulf Dittmer ]
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!