applet and mysql in jsp using tomcat servlets
i am using netbeans ide and i have created a project called applet. applet project consist of one applet that draws a graph and the graph points are taken from the MySQL database.
when i run the project i get a little window which shows me the applet and it connects to the database and everything works fine.
but i have a web project where i want to use that applet so i add the applet project .jar file to the web project and embedded the applet in to my jsp but my applet does not work any more
if the values for the graph are replaced by hard coded values instead of the ones retrieved from mysql database it works perfectly again
why cant i get the data from mysql in to the applet
any suggestions will be greatly appreciated
thank you very much