Thank you for your swift reply!
I have specified that path on the repositories line in the zone.properties 
as follows:


Snippet from http.conf:
ApJServMount /servlets /zone

Snippet from jserv.properties
zones=zone

Snippet from zone.properties
repositories=d:/apache/servlets,d:/jdk117a/lib/classes.zip,d:/jsdk2.0/lib/jsdk.jar,d:/apache/servlets/SnoopServlet.class


Directory mapping:
d:\apache - apache install directory
d:\apache\serlvets - contains the zone.properties & SnoopServlet.class
d:\apache\conf - contains the httpd.conf & jserv.properties

So now when I point my browser to http://localhost/servlets/SnoopServlet

I expect it to execute the SnoopServlet but instead I get the JServ dynamic 
status page, which has two links one to the Configured hosts and the other 
to Mapped Servlet Engines. When I click on the link of my host I get details 
of the apache configuration but get nothing when I click on the link for 
Mapped Servlet Engine.

I don't understand what I am doing wrong. However, when I run the 
SnoopServlet through servletrunner it displays the http header information. 
Any ideas?

Thanks

afshan

>From: "jon *" <[EMAIL PROTECTED]>
>Reply-To: "Java-Servlets" <[EMAIL PROTECTED]>
>To: "Java-Servlets" <[EMAIL PROTECTED]>
>Subject: Re: Apache Servlet Configuration Problem
>Date: Thu, 20 May 1999 16:11:26 -0700
>
> > and I want D:\apache\servlets  to be the servlet root. But apparently 
>the
> > directives that I have in the http.conf and jserv.properties and
> > zone.properties are not correct. Can some one help me understand this
> > please?
>
>In your zone.properties, specify that path on your repositories= line. If
>you are having trouble understanding zones, please read the faq:
>
><http://java.apache.org/faq/>
>
>Everything you need to know is in there.
>
>-jon
>
>
>
>------------------------------------------------------------
>To subscribe:    [EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:       [EMAIL PROTECTED]
>
>


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to