Override Internet Explorer intranet compability mode using JSF

Microsoft Internet Explorer switches to compability mode for intranet pages. I found a solution for the issue here, but it applies to an ASP.net web application only. I however develop a JSF application and would like to implement the same workaround.

Is there an expert who knows where to put the according directives and how to reformulate the ASP.net settings directives?

Answers


You can easily implement a servlet filter to add that header, see here for a tutorial or here for some ready-to-use code.


This is far more clearly explained and solved here: http://joensen.eu/2011/11/27/change-ie-compatibility-in-jsf/ (easy implementation of a Filter)


Need Your Help

Uploading image via Post method for rails server with paperclip plugin

android ruby-on-rails post paperclip

I have a rails app with a controller called matches with the create method:

Storing unstructured data with ramses to be searched with Ramses-API?

python json elasticsearch

I would like to give my users the possibility to store unstructured data in JSON-Format, alongside the structured data, via an API generated with Ramses.