Results 1 to 5 of 5
  1. #1
    gedas is offline Member
    Join Date
    Feb 2010
    Posts
    51
    Rep Power
    0

    Default applet and mysql in jsp using tomcat servlets

    hey,
    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

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

  3. #3
    gedas is offline Member
    Join Date
    Feb 2010
    Posts
    51
    Rep Power
    0

    Default

    i am very great full for your response, i have been trying to sign it for a while but i am just totally unsure of what i am doing is there a clear tutorial that shows step by step guidance of how to accomplish it ?
    the tutorials that i have found, tend to jump steps and i am unclear of the locations they are working in and what passwords and names they are using to sign the jar files

    thank you very much

  4. #4
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default

    Did you look at the links I provided above? One of which is the one of the better step by step instructions for how to sign that I've seen.

  5. #5
    gedas is offline Member
    Join Date
    Feb 2010
    Posts
    51
    Rep Power
    0

    Default

    thanks for the reply,
    yeah i had a look at that forum and i was unable to continue from step three once i tried creating that tstcer.cer file i received exception and i was unable to continue , i tried jumping to step 5 but i was still getting exception that stopped me from continuing the tutorial

    thanks again

Similar Threads

  1. applets using mysql in jsp using tomcat
    By gedas in forum New To Java
    Replies: 0
    Last Post: 04-03-2011, 05:39 PM
  2. Replies: 1
    Last Post: 02-19-2011, 10:34 PM
  3. MySQL, Netbeans 6.8 and Tomcat 6
    By hacktorious in forum JDBC
    Replies: 3
    Last Post: 01-16-2011, 06:19 AM
  4. Ubuntu 10.10 Tomcat 6 & Servlets newbie
    By midnight1111 in forum Java Applets
    Replies: 1
    Last Post: 12-07-2010, 08:59 AM
  5. running servlets in tomcat
    By mipravin in forum Java Servlet
    Replies: 4
    Last Post: 03-18-2009, 11:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •