This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "connect applet to database?" Watch "connect applet to database?" New topic
Author

connect applet to database?

vijay kiranwithvijay
Greenhorn

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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Moving to our applets forum.


[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connect applet to database?
 
Similar Threads
database connectivity
Applet database connection
jdbc
Connecting between Applet and database
mysql driver problem