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

I think that you can't use the servlet dir similair to a "normal" file
dir.
The servlet dir is not accesable for apache, that means if you have your
servlets at http://somewhere.com/servlets you can't put an html file
there and access it via http://somewhere.com/servlets/your.html. The
servlets-URL is only virtual, so I don't think that you can put an
apllet class there.

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]

-- 
Guenther Wieser      
creative-it/Guenther Wieser Software KEG
Student of Telematik at Graz University of Technology
http://www.creative-it.com        mailto:[EMAIL PROTECTED]
-> In A World Without Walls And Fences, Who Needs Windows And Gates? <-


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