I am trying to run the simple chat server in Chapter 10 of Jason Hunter's Java Servlet Programming. My main question is if a servlet produces a page with an applet on it, where does the applet's class file need to be in the directory structure? My guess was under WEB-INF/classes. When the servlet produces the following page
<HTML> <HEAD><TITLE>An Absurdly Simple Chat</TITLE></HEAD> <BODY> <H1>An Absurdly Simple Chat</H1> <APPLET CODE=RMIChatApplet CODEBASE=/ WIDTH=500 HEIGHT=170> </APPLET> </BODY></HTML> The browser just gives me a gray area where the applet should be and a message that says "Loading Java Applet Failed" or "Applet HttpChatApplet notinited". Does anyone know what I might be doing wrong? Could it be the interfaces location, I have the compiled interfaces in the same place WEB-INF/classes . Thanks - Scott Carter ___________________________________________________________________________ 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