tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to make context path case insensitive
Date Mon, 11 Aug 2008 17:08:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

André Warnier wrote:
| Christopher Schultz wrote:
|
|> Oh, that's a MUCH better idea than mine (to deploy all combinations of
|> case as redirector apps). The trick is that you must deploy this filter
|> into the ROOT application specifically.
|
| Do you mean that all requests go first through the ROOT app, no matter
| what?

No. Requests that do not match any /other/ context are mapped to the
ROOT context. That's what allows this seeming magic to work.

| I beleived that requests were being dispatched based
| on the url-mapping's of the servlets, and if they did not match any,
| then to the default servlet.

You are confusing selection of the context (which chooses a webapp from
all those deployed) with selection of the servlet to run (which chooses
a servlet to run from those configured in the context of the webapp that
was chosen).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkigcfsACgkQ9CaO5/Lv0PA6hgCfclnjGbswFUpGSPRQmWbchZVj
G7YAoLIvriysnfFeSdc9H5DRlMI2pE2H
=kInv
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message