I am using the Java MySql connector so that my applet can access a database on my site. However, it is not working because the error is returning null when trying to use the connector, which does not happen when I run it from eclipse. So, should the connector jar file be packaged inside the jar that's generated for my applet or should it be outside of the applet's jar in the same directory, or somewhere else?
Asked
Active
Viewed 110 times
0
-
http://stackoverflow.com/questions/6068658/java-applet-how-to-tell-the-browser-firefox-where-to-look-for-libraries-jars – Juned Ahsan Jul 19 '13 at 04:07
-
*"so that my applet can access a database on my site."* For the security of the DB, it should ***not*** be accessible to every Tom, Dick & Applet that wanders by! – Andrew Thompson Jul 19 '13 at 18:18
-
@AndrewThompson so what do i do? use a servlet? – rasen58 Jul 21 '13 at 18:07
-
*"use a servlet?"* Yes. That is one way. – Andrew Thompson Jul 21 '13 at 18:17
-
@AndrewThompson Is that the easiest way? – rasen58 Jul 21 '13 at 21:52
-
*"Is that the easiest way?"* If you know PHP best - PHP, ditto. ASP ditto servlets.. – Andrew Thompson Jul 22 '13 at 06:07