Re: How to stop trailing slash redirects?

2019-06-07 Thread Rob Nikander
On Fri, Jun 7, 2019 at 10:13 AM André Warnier (tomcat) wrote: > On 07.06.2019 08:31, Rob Nikander wrote: > > > > > >> On Jun 6, 2019, at 5:19 PM, André Warnier (tomcat) > wrote: > >> > >> On 06.06.2019 13:28, Konstantin Kolinko wrote: &

Re: How to stop trailing slash redirects?

2019-06-06 Thread Rob Nikander
> On Jun 6, 2019, at 5:19 PM, André Warnier (tomcat) wrote: > > On 06.06.2019 13:28, Konstantin Kolinko wrote: >> чт, 6 июн. 2019 г. в 10:32, Rob Nikander : >>> >>> […] >> >> 1. Exact version number of Tomcat =? Does it support that attrib

How to stop trailing slash redirects?

2019-06-06 Thread Rob Nikander
Hi, I would like requests to a webapp to have paths that look like this: http://server/myapp not: http://server/myapp/ But for some reason, Tomcat keeps redirecting the 1st to the 2nd. I’m aware of the attribute `mapperContextRootRedirectEnab

add mapping for jsp servlet in web.xml?

2016-10-01 Thread Rob Nikander
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: jsp /some-stuff/* In Tomcat 6 this worked, but in 8, this *replaces* the existing mapping from the default web.xml (so .jsp fi