• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running applet in html page  RSS feed

 
Ritchie Partridge
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the html code:
<HTML>
<HEAD>
<TITLE>Applet</TITLE>
</HEAD>
<BODY bgcolor="#FFCC99">
<APPLET CODE="TabbedPaneDemo.class" ARCHIVE="E.jar"
WIDTH=600 HEIGHT=300>
Your browser does not support applets
</APPLET>
</BODY>
</HTML>
The problem is that the applet connects to an oracle database and classpaths need to be set, can any one help?
 
C.W. Zachary
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't want to have to set a classpath on the clients machine, so if you need certain jars, like the jdbc jar to connect to your oracle database, include that jar inside your applet's jar (yes, you can do this).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!