Nicolas Pujol <[EMAIL PROTECTED]> wrote:

>1. First If I understand correctly creating a servlet zone is not mandatory.

I think you always need a zone.

>2. I  add the following line to my httpd.conf --> ApJServMount /servlets
>/servlets

your zone name is "servlets"

>3. I modified my Jserv.properties file to include a new zone called
>"pro-servlets" associated with the configuration file
>"pro-servlets.properties".

change this from "pro-servlets" to "servlets". If you want the URL to have
"pro-servlets" in it then do:

ApJServMount /pro-servlets /servlets

or...

ApJServMount /pro-servlets /proservlets

in which case your servlet zone is now called "proservlets". I'm not sure
about putting a "-" in the zone name since who knows what some parser is
going to want to do with it.

>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

use lowercase for property names like "properties"; repositories is like a
classpath, so:

repositories=C:/program files/apache/group/apache/htdocs/servlets
repositories=C:/program files/apache/group/apache/htdocs/servlets/sample

>6. However I know try to create an alias so that I can access the servlet:
>Servlet.simple.code=sample.SimpleServlet

again, use lower case for property names "servlet.simple.code". I'm not
sure how the parser treats this stuff, but better safe than sorry.


-- Ari Halberstadt mailto:[EMAIL PROTECTED] <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>




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

Reply via email to