Hello I installed Apache 1.3.4 and Apache Jserv1.0 on my Win 98 machines
with JDK1.2

I get everything to work up to actually setting a Servlet to run.

1. First If I understand correctly creating a servlet zone is not mandatory.
2. I  add the following line to my httpd.conf --> ApJServMount /servlets
/servlets
3. I modified my Jserv.properties file to include a new zone called
"pro-servlets" associated with the configuration file
"pro-servlets.properties". 
4. In my "pro-servlets.properties" I setup a repository where my servlet
SimpleServlet.class in package "sample" resides. This is my directory
structure: /servlets/sample/SimpleServlet.class.Thus I write:
            Repositories=C:/program files/apache
group/apache/htdocs/servlets
5. So far I am almost sure I am doing this right because when I startup
Apache and go to http://mydomain/jserv/ <http://mydomain/jserv/>  I can see
the new zone and its setup. 
6. However I know try to create an alias so that I can access the servlet:
Servlet.simple.code=sample.SimpleServlet


It seems to work but I cannot seem to understand what the URL should be. I
tried
http://mydomain/servlets/simple <http://mydomain/servlets/simple>  but that
does not work. I should also be able to simply access the servlet as such
http://mydomain/servlets/sample.SimpleServlet
<http://mydomain/servlets/production.SimpleServlet>  but its does not work
either. Can you give some guidance, I have forgotten something ???

I also tried to do it without zones and simply mount /servlets to /servlets
in httpd.conf and put the SimpleServlet.class in the /servlets directory and
finally go to http://mydomain/servlets/SimpleServer
<http://mydomain/servlets/SimpleServer>  but it did not work either. 


Thank you.

Nicolas



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to