开发者

Internet explorer tries to download index.jsf file

Hey guys I'm trying to get my application to run on Internet Explorer 8. If I redirect IE8 to my p开发者_运维百科age it just tries to download the JSF file. Not sure what is going on here.


Old versions of Internet Explorer don't understand mime type application/xhtml+xml:

http://www.schillmania.com/content/entries/2004/10/24/application-xhtml+xml/

Change your web.xml configuration file to map the mime type:

<mime-mapping>
    <extension>xhtml</extension>
    <mime-type>text/html;charset=UTF-8</mime-type>
</mime-mapping>


I changed my login to page to a plain html page instead of a JSF(xhtml) page and it fixed the issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜