>>> Sohaila Roberts <[EMAIL PROTECTED]> 08-Jun-00 4:30:45 PM
>>>

>All the class files, including VDgraphS.class &
>graphApplet.class, were in the same directory.

And what directory was that?

Was it the same one as the servlet? I don't think so since the
servlet will be served from it's own namespace.

Try putting the applet classes in a directory under your web document
root, eg:

/docroot
  /applet
    class1.class
    etc...

then have the servlet send this:

        out.println("<HTML><HEAD><TITLE>");
        out.println(title);
        out.println("</TITLE></HEAD><BODY><CENTER>");
        out.println("<applet codebase=\"/applet/\"
code=\"graphApplet.class\" ");
        out.println(" width=400 height=400> ");
        out.println("</applet>");
        out.println("</CENTER></BODY></HTML>");


>But it still said that graphApplet could not
>be loaded. And in the java console, it said that
>that class wasnt found. Am I missing something?

Are you the person using Swing in their applet? If so are you sure
the browser is running Swing ok?


Nic Ferrier

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to