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 do you handle 'rewrite queries' ?
Date Wed, 05 Aug 2009 17:26:30 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 8/5/2009 10:14 AM, Caldarale, Charles R wrote:
>> From: Paul Taylor [mailto:paul_t100@fastmail.fm]
>> Subject: Re: How do you handle 'rewrite queries' ?
>>
>>   <servlet-mapping>
>>     <servlet-name>SearchServerServlet</servlet-name>
>>     <url-pattern>/</url-pattern>
>>   </servlet-mapping>
> 
> The above causes the SearchServerServlet to be invoked when there's no
> path specified in the URI. You want to add a mapping for /ws/type/ to
> target the same servlet.

Or when no other mapping matches, right? If you hit this webapp with a
URI of /foo/bar then the servlet matching "/" will be invoked with
pathInfo="foo/bar", right?

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

iEYEARECAAYFAkp5wMYACgkQ9CaO5/Lv0PDDogCgpzIqtwyL0zJdrMQCs5zLlcon
vFUAoJfxGzJ6zIyZGymPgXg31Ms1pao6
=vjq9
-----END PGP SIGNATURE-----

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


Mime
View raw message