Hello! I have an applet written in Java. This applet uses the driver, takes it from the JRE directory (the folder where the Java virtual machine is located on the local computer). But if you don’t put the driver in this folder, you won’t connect (.

How can I "include" the driver in the applet, or place the driver on the server? In general, help))

PS Applet itself is on the server and the database too.

    1 answer 1

    The driver must be in CLASSPATH - put the driver JAR in the CLASSPATH and everything will be bundled.

    The CLASSPATH applet is actually an archive (jar) with code. In the tag <applet> there is such an attribute archive

    Read here