This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You can't run applets using the "java" command - applets are not applications.
As to the DB driver, you need to add its jar file in an archive attribute of the applet tag.
Joined: May 16, 2012
thanks for replay me..
i created SignedAppletOne.jar like
and add this to html page like
while seeing it in a browser i am getting an error this
please help me in this
Joined: Sep 21, 2011
I see - the applet is signed; you didn't mention that before. But the applet tag still doesn't point to the DB driver jar file (which also needs to be signed).
Note that using JDBC in an applet is generally considered a security risk. You should consider using a proxy on the web server instead that the applet would access via HTTP, and which in turn uses JDBC to access the DB. That also obviates the need to open up the firewall on the Mysql port.