Hi,

How can I setup servlet path other than the default /servlet? 

I've got a web package that use /newZone as its servlet location other
than the default /servlet, and I'm having a hard time configuring tomcat
that way. This is what I've done:

in server.xml add in the appropriate location:

        <Context path="/newZone" 
                 docBase="/java/e-site/web/newZone" 
                 crossContext="false"
                 debug="0" 
                 reloadable="true" > 
        </Context>

in tomcat.conf add in the appropriate location:

Alias /newZone "/java/e-site/web/newZone"
<Directory "/java/e-site/web/newZone">
    Options Indexes FollowSymLinks
</Directory>
ApJServMount /newZone/* /newZone

and the servlet class are put in
/java/e-site/web/newZone/WEB-INF/classes/

when visiting http://localhost/newZone/HelloWorldExample

I got 

The requested URL /newZone/HelloWorldExample was not found on this
server.

please tell me what else I should have done and (maybe) what I had done
is not necessary.

thank a lot

-- 
SUN, Tong

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to