0

I have a problem with IE-compatibility-mode.

I have deployed the same application both on Tomcat and WebSphere. When I launch the application deployed on Tomcat, it start with IE 7 compatibility-mode as default. Instead, when I launch the application deployed on WebSphere, it start with IE 11 compatibility-mode as default.

Why the application server changes the IE compatibility mode? How I force compatibility mode to IE8 for the application deployed on WebSphere?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Rino
  • 1
  • Are you referring to an HTTP response header? Is your application trying to set it or do you expect the server to set it for you? – covener May 31 '19 at 11:03
  • I don't understand if is the application or server to setting the compatibility. – Rino May 31 '19 at 12:37
  • I'm referring to ie compatibility mode show in internet explorer developer tools. – Rino May 31 '19 at 12:39
  • 1
    Presumably the HTTP response differs. Step one is identifying how it differs. You have to sort that out before figuring out why it differs. – covener May 31 '19 at 17:32
  • There are multiple things that IE uses to determine whether or not to use a compatibility mode. Could be different headers, which @covener's suggestion indicates to check, or even just different domains. See like https://stackoverflow.com/a/13287226/796761 or https://stackoverflow.com/a/29196966/796761 – dbreaux Jun 03 '19 at 15:33

0 Answers0