Loading a JDBC driver
For the JdbcSource applet to connect to an external database, a JDBC driver must be loaded locally. This can be done via the applet PARAM tags. The following sample HTML code shows how to specify the driver that the applet loads and how to automate the process by making sure that the driver is automatically loaded.



<APPLET NAME="dataBase1" CODEBASE="..\..\.." CODE="lotus.jdbc.JdbcSource" WIDTH=1 HEIGHT=1>
  <PARAM NAME="driver" VALUE="JDBC driver  classname">
  <PARAM NAME="autoload" VALUE="true">	
  
   . . . . MORE APPLET PARAM TAGS . . . . . 
  
</APPLET>



The JdbcSource PARAM tags specify the options for loading the driver.

The tag option is specified by the NAME attribute and the option value is specified by the VALUE attribute of the tag.

Within the APPLET tag, the various attributes do the following: