tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Oliver <jo...@isoco.com>
Subject url-pattern behaviour
Date Tue, 12 Dec 2000 19:47:08 GMT

	Hello,

	I'm trying to configure tomcat with some
servlets, and I've found a difference in
behaviour from other servlet engines. I'm trying
to configure it in such a way that requests for
the main page (http://www.blah.blah.com/) are
served by a servlet called StartServlet:

  <servlet-mapping>
    <servlet-name>StartServlet</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>

and it actually does it, but the problem is that
it serves _any_ url that starts with "/", for
example "/images/whateverfooimage.jpg". The
same application running under Dynamo 5.0 does
it ok (for me), since StartServlet only serves
request for "/" url...

	Is this a bug in tomcat? Or is a
"feature" of Dynamo?

	Best,
	Jose

Mime
View raw message