RE: Tomcat serving javascript files as text/html

2019-07-12 Thread Jean Pierre Urkens
in the jsp response file which includes the js and css files as: Any suggestions as to how to circumvent this problem? Thanks in advance. From: Jean Pierre Urkens Sent: vrijdag 12 juli 2019 09:28 To: users@tomcat.apache.org Subject: Tomcat serving javascript files as text/html

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

Tomcat serving javascript files as text/html

2019-07-12 Thread Jean Pierre Urkens
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 configured in the mime-mappings. Could someone clarify this