Re: Cannot override servlet context init param

2020-10-15 Thread Matt Benson
After a closer read of the open API, specifically the @return tag of ServletContext#setInitParameter(), I retract the question. Matt On Tue, Oct 13, 2020, 7:31 PM Matt Benson wrote: > Hello, > Today I was experimenting with a Servlet ContainerInitializer in which I > wanted to modify the value

Re: Cannot override servlet context init param

2020-10-14 Thread Mark Thomas
On 14/10/2020 08:13, Mark Thomas wrote: > On 14/10/2020 01:31, Matt Benson wrote: >> Hello, >> Today I was experimenting with a Servlet ContainerInitializer in which I >> wanted to modify the value of a particular init param, but found that >> Tomcat's ServletContext implementation (ApplicationCont

Re: Cannot override servlet context init param

2020-10-14 Thread Mark Thomas
On 14/10/2020 01:31, Matt Benson wrote: > Hello, > Today I was experimenting with a Servlet ContainerInitializer in which I > wanted to modify the value of a particular init param, but found that > Tomcat's ServletContext implementation (ApplicationContext) explicitly > rejected the override. The S

Cannot override servlet context init param

2020-10-13 Thread Matt Benson
Hello, Today I was experimenting with a Servlet ContainerInitializer in which I wanted to modify the value of a particular init param, but found that Tomcat's ServletContext implementation (ApplicationContext) explicitly rejected the override. The Servlet API doesn't seem to suggest that what I'm t