There is security problem here. The COFFEEBREAK serving
MySQL server sits on a different machine than the WWW server.
See the Deploying Java and JDBC article from DataDirect.
- Install applet on local machine (sorry no details, have not tried)
- Sign it (mhh don't know yet how to do this)
- Use a multi-tier setup
Examples (the source is listed above or in the directory):
- Try: appletviewer http://tecfa.unige.ch/guides/java/staf2x/ex/jdbc/coffee-break/simple-applet/MySqlQueryApplet.html
- Use our test/doc WWW server that sits on the same machine (as in the URLs below)
Simple "list a query" example: