This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I am trying to set up an applet with JDBC functionality and can't get the thing to work. I've written the GUI so it can be loaded either as a JFrame or as a JApplet. As a JFrame application it works fine, establishing the JDBC connections and firing the appropriate Oracle queries. As an applet, it comes up fine on the screen, but does not connect to the database. All the files (the applet, a "DbLayer" class, and an inner event-handling class) are stored in a Resin web server on my machine. I've put all the applet files into a common jar file, and have put the path for this .jar file into my windows NT CLASSPATH. What should I do to enable the connection between the applet and our local database? Many thanks in advance!
posted 15 years ago
I ran into a simular problem with the WebLogic server. Try adding the JAR file name to you CLASSPATH. CLASSPATH=.:C:\JDK1.2.2\LIB:C:\JAVA\myjava.jar Hope this helps, Monty6