RE: Tomcat serving javascript files as text/html

2019-07-12 Thread Jean Pierre Urkens
Hi all, Also css files are served as text/html which causes my pages no longer to be rendered correctly. It all seems related to a change in Tomcat-8.5.36: "The default Servlet should not override a previously set content-type. (remm)" The application sets the content-type in the jsp

Re: Tomcat serving javascript files as text/html

2019-07-12 Thread Mark Thomas
On 12/07/2019 08:27, Jean Pierre Urkens wrote: > Hi, > > I recently upgraded my Tomcat-8.5 installation from 8.5.30 to the latest > version 8.5.43 and I am noticing that js files are served by > Tomcat-8.5.43 with content-type: ‘text/html’ instead of > ‘application/javascript’ as it is