You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kaspars Truhins <ka...@yahoo.com> on 2000/11/26 00:21:32 UTC
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/
RE: mapping zone
Posted by Saurabh Shukla <sa...@cysphere.com>.
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/