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.
精彩评论