tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saur...@cysphere.com (Saurabh Shukla)
Subject RE: mapping zone
Date Sun, 26 Nov 2000 09:21:46 GMT
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:kapasars@yahoo.com]
Sent: Sunday, November 26, 2000 4:52 AM
To: tomcat-user@jakarta.apache.org
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/


Mime
View raw message