-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rob,
On 10/1/16 8:59 AM, Rob Nikander wrote: > Hi, > > I’m upgrading from Tomcat 6 to Tomcat 8. The web.xml has a mapping > like this, to use the jsp servlet for all files in a certain > directory: > > <servlet-mapping> <servlet-name>jsp</servlet-name> > <url-pattern>/some-stuff/*</url-pattern> </servlet-mapping> > > In Tomcat 6 this worked, but in 8, this *replaces* the existing > mapping from the default web.xml (so .jsp files don’t work). > > Is there way a simple way to add the mapping, rather than replace > existing mappings? Replacing the mapping would surprise me and I would consider it a bug. Can you package a sample WAR with source that demonstrates this issue? (Easiest "source" to package would just be two .jsp files where one will run and the other will not). - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJX9BhnAAoJEBzwKT+lPKRYHA8P/3Q20HEoTv/+OUsKI01pqN++ Ppuof/i4gGtaxcAoywXtcu4DNMw5rv2ryt8xEegr3j7vDNsYIfylHX9mYrVjmFoI 2DsEikmHrSb2GO1tU66U7h7Y1pxXzkyr3Gpnh4ZnVXOU7Bj+8gqinbcbg4/1N72T 3d25cAH5UOUmyK/PtDTDT1+193f+eFZe8z8IEtaC7rzbmydQPObSkfwUdO1SYBNn lvCy/mjRj9uUU81ZnwritY0r+9uQsR3Iwtaekl1E5qjVVzz5tTlmJi2KlaXnESGT 9FrLEx4BfHi6fycMHXv/0SN5oYujDlBIPTe4nChh76Y9SGdccrIXoJMwDUrJTm9q Ig7lB6w60w/aqx6k1SvTFtR95PIK5nK4yDCr7bxp82vBNNFu5PceXybEEdTZaLFw qsTez8/txAvEW3IuWFXPmUAG3+obeDJpWAU9fdPt37UxdMDho155StB+wuKe7cFq 4wDdQBpOCQYrJ2d2VP5iP0JXj7co2aOIkWh8ujoauQBB48Vb0xfKahcNPy+fU0bO HVFF9FG9O9c8i/z5wX1pcSj7KhSe/DoOtYFVB8V/IAZAa8NhMAqF5KN1e+jvGzBk GI8Ri54HMTbDKkJb+WRnEOKsjxJ+7v5froj2vCrY9+vuKq18clu6qZiRi3dx09nn TfBTOTh5/RR8OdBB7e04 =uZFx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org