Search:

Type: Posts; User: Norm

Search: Search took 0.17 seconds.

  1. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    The filename begins with a .
    Use the policytool program to edit the .java.policy file.
    Here is a sample from my .java.policy file:


    located at:
    C:\Documents and Settings\Norm\.java.policy
    ...
  2. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    See the tutorial or Google. Signing is a security thing.
    Lesson: Java Applets (The Java™ Tutorials > Deployment)
  3. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Two ways:
    Put the class files in a jar and sign the jar
    Add a Permission statement in the .java.policy file using the policytool program

    Why is the applet trying to connect to a site?
  4. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Applets can not connect to sockets other than from where they are loaded from without permission.
  5. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Part of the problem. This error:
    java.net.ConnectException: Connection refused: connect
    Looks like it was caused by the run() method trying to create a new Socket.
    at...
  6. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Can you make a very simple program and html with javascript that shows the problem?
    The small test program will help locate your problem. If the small program works, then the problem could be in the...
  7. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Can you make a very simple program and html with javascript that shows the problem?

    Have you tried other browsers?


    The small test program will help locate your problem. If the small program...
  8. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Sorry too much code to wade through.
    Have you checked your javascript code to be sure that is coded correctly?
    Where did you get the javascript code you are using?
  9. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Not the whole project.
    I would like a small simple applet and with html to load it and some javascript that tries to connect to the applet. Very simple applet could use println to show that the...
  10. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Can you make a SSCCE to demonstrate the problem. Something what we can copy, compile and test on our PCs.
  11. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    The code you posted looks like javascript.
    var result = LMSTestSCODriver.evalID( query1 + "!" + query2 );
    Where is this line in the java code?
  12. Replies
    24
    Views
    5,075

    Re: Problem Applet Error

    Is that method defined in the LMSTestSCODriver class?

    How did you compile the code without having a definition for that class? Did you use a jar file that is not available to the java command when...
Results 1 to 12 of 12