aspose file tools
The moose likes Applets and the fly likes connect applet to database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "connect applet to database?" Watch "connect applet to database?" New topic

connect applet to database?

vijay kiranwithvijay

Joined: Sep 06, 2007
Posts: 14
How can I connect from an applet to a database on the server?
sudhir nim
Ranch Hand

Joined: Aug 29, 2007
Posts: 212

Originally posted by vijay kiranwithvijay:
How can I connect from an applet to a database on the server?

Applet can make database connections only to the host from which applet is downloaded.
put driver in archive and you can create connection to database directly from applet as you do normally.

[Servlet tutorial] [Servlet 3.0 Cook Book]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32301

Moving to our applets forum.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
jQuery in Action, 3rd edition
subject: connect applet to database?
It's not a secret anymore!