----------------------------------------------------------------
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 Catherine,
with the HTML you generate you tell the browser to look for 'package.myapplet'
in the Server's Document-root which is not the servletzone. I wouldnt place
applets in servlet zones anyway (I guess it can't work)
So just put the applet in the server root (or an appropriate subdirectory) and
it will work.
Cheers,
Rupert
Catharine Barnes wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> My configuration is as follows:
>
> Apache Jserv: version 1.0
> Apache: 1.3.6
> OS: UnixWare 5
>
> I have tried to read the FAQ but it is currently unavailable.
>
> I have installed JServ and got it running basic servlets OK.
> One of my servlets outputs HTML that loads an applet i.e.
>
> out.println("<html><body>");
> out.println("<applet codebase=\"http://" + request.getServerName() + ":" +
> request.getServerPort() + "\" code=\"package.myapplet\" height=10
> width=10>");
> out.println("</applet></body></html>");
>
> My problem is getting JServ to find the applet.
> The applet is stored with the servlets.
> When I run the servlet I get a class not found error in the Java console
> window.
>
> I thought that I needed to add the path of the servlet in the
> jserv.properties e.g.
>
> wrapper.classpath=/path/
> I have restarted apache since I added this line but it doesn't have any
> effect.
>
> Can anyone tell me where I am going wrong?
>
> Thanks,
> Catharine
>
> --
> --------------------------------------------------------------
> 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]