Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Running applet in html page

 
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?
 
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).
 
    Bookmark Topic Watch Topic
  • New Topic