How to make a meta tag the first one in the <head> section?

前端 未结 5 1495
感动是毒
感动是毒 2020-12-05 00:42

I\'m using JSF2, GlassFish 3.1, PrimeFaces 2.x.

I\'m having strange rendering problems on IE9. I\'m supposed to be able to force IE9 to render as IE9 by inserting

5条回答
  •  独厮守ぢ
    2020-12-05 01:33

    You can create Filter which adds header:

    X-UA-Compatible: IE=9
    

    to response object.

    Source

提交回复
热议问题