----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello,

I am using Win98 Apache 1.3.6 with Jserv 1.0. In the servlet I tries to
download an applet by the following lines in 'doGet' function:

out.println("<HTML>");
out.println("<BODY>");
out.println("<APPLET CODE=\"Applet1.class\" WIDTH=426
HEIGHT=266></APPLET>");
out.println("</BODY>");
out.println("</HTML>");


Applet1.class is located in the root directory where all servlets are
located:
C:\Program Files\Apache Group\Apache JServ\servlets.

When the servlet html page displayed on the client, the Applet1 class is not
shown, when I move the cursor over the gray area where the applet should
have be displayed, it shows on the status bar the message:"load: class
Applet1 not found".

The Java console displays: "java.lang.ClassNotFoundException: Applet1".

The server CLASSPATH has . (dot) in it.

I also tried to add different CODEBASE="Applet1 location" to the command but
it didn't help.

Do I miss any APACHE configuration settings?

Thanks,
Ilana.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to