Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access and AccessDB from HTML?  RSS feed

 
BobC
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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!
 
nitin goswami
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You must have a Web Server like Tomcat or anyother if you want to connect to any Database.

Thanks
-Nitin
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • 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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!