Product Documentation

FairCom JDBC Developer's Guide

Previous Topic

Next Topic

Creating a Web Page That Invokes the Applet

At a minimum, the page must include the APPLET tag that invokes the applet.

For example, the following page includes little else but the APPLET tag. The example’s APPLET tag specifies the c-treeJDBCApplet.class and ctreeJDBCTest.jar files from the preceding sections, as well as class-name and connection parameters to pass to the applet.


<html>

<head>

<title>Test</title>

</head>

<body>

<p>

Here, in all its glory, is the ctreeJDBCApplet test applet!

<center>

<applet code="c-treeJDBCApplet.class"

archive="c-treeJDBCTest.jar" width=500 height=400>

<param name=Driver value="ctree.jdbc.ctreeDriver">

<param name=URL value="jdbc:ctree://localhost:6597/ctreeSQL">

<param name=User value="ADMIN">

<param name=Password value="dummy">

</applet>

</center>

</body>

</html>

TOCIndex