You can just do it with web.xml . add something like this... in your
web.xml.

Shuklx


 <servlet-mapping>
        <servlet-name>
           AccessServlet
        </servlet-name>
        <url-pattern>
            /myAppl/*
        </url-pattern>
    </servlet-mapping>

-----Original Message-----
From: Kaspars Truhins [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 26, 2000 4:52 AM
To: [EMAIL PROTECTED]
Subject: mapping zone


I would like to make some changes that to invoke a
servlet: "AccessServlet" in an application "myAppl" i
would simply type:
http://myhost.com/myAppl/AccessServlet

rather than default tomcat settings:
http://myhost.com/myAppl/servlet/AccessServlet

to do that  would i need to do?
As far as i understand i would need to make changes in

tomcat.conf and replace
ApJServMount /myAppl/servlet myAppl
ApJServMount /myAppl myAppl


Do i need to make changes in web.xml
where invoker is mapped to /servlet/*

??? any suggestions how to achieve it appretiated,
kt



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Reply via email to