----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hi Ilana,
No You don't miss any Apache configurations... 
Just remember that the servlet passes code to Apache wich sends it back to
the browser.
So the applet should be in the apache htdocs path and not in the JServ path,
because it will be Apache wich will serve the request that was dinamically
built by the servlet.

Hope that helps.
Paulo

-----Original Message-----
From: Ilana Shay [mailto:[EMAIL PROTECTED]]
Sent: Sexta-feira, 11 de Fevereiro de 2000 19:22
To: [EMAIL PROTECTED]
Subject: Download an applet by a servlet


----------------------------------------------------------------
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]


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