tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arion Yu <ario...@stt.com.hk>
Subject Re: how to map context to /servlet ONLY in 3.2b2?
Date Fri, 04 Aug 2000 02:27:44 GMT
Hi!

Are you mentioning accessing a servlet with http://yourhost/servlet/abc ?
The context should be ROOT instead of example. (although you may change it)
Take a look at $TOMCAT_HOME/conf/server.xml

Arion

"Horst G. Reiterer" wrote:

> Hi,
>
> accessing a context via /servlet/* used to work with 3.1, no submapping was
> required (e.g. /examples/servlet) when using the following:
>
> <servlet-mapping>
>     <servlet-name>
>         invoker
>     </servlet-name>
>     <url-pattern>
>     /
>     </url-pattern>
> </servlet-mapping>
>
> With 3.2 however this doesn't work anymore. Is there any way to make this
> kind of mapping work with 3.2?
> Thanks in advance for any help!
>
> Regards,
>
>     Horst Reiterer

--
[This email and any files transmitted with it are confidential and may contain
information that is legally privileged. They are intended solely for the
addressee(s). Access to this email by anyone else is unauthorized. If you are
not the intended recipient, please delete it and notify the sender by email
immediately; you should not copy or use it for any purpose, nor disclose its
contents to any other person. Thank you.]



Mime
View raw message