tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Servlet mapping issue
Date Fri, 25 Jun 2010 18:09:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 6/25/2010 12:47 PM, Caldarale, Charles R wrote:
>> From: laredotornado [mailto:laredotornado@gmail.com]
>> Subject: Re: Servlet mapping issue
>>
>> Did you mean to say, call it WITHOUT the params at the end?
> 
> No, leave the params in, but omit the .jsp suffix in the URL.

I'm surprised that this doesn't work as written:

1. The JspServlet is mapped to *.jsp
2. His servlet is mapped to /play/music/includes/venue-listing*
3. url-patterns match the longest-matching pattern, so #2
   ought to override #1

What would be better, probably is:

  <url-pattern>/play/music/includes/venue-listing.jsp</url-pattern>

...which the OP tried unsuccessfully, earlier. I would have expected
that to work, too. :(

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

iEYEARECAAYFAkwk8NMACgkQ9CaO5/Lv0PCaaACdGyZpvu/cF6X2XELHw9muz/mz
qYYAn0BQetjmm0SNpwgQ894hdNmZmvlC
=zYOn
-----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