Most browsers need content type of text/html, even for XHTML
documents. It is a bug in the browser.

-Andrew

On Fri, Jan 23, 2009 at 11:57 AM, Bjørn T Johansen <b...@havleik.no> wrote:
> When I use the following in my xhtml page..:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
>      xmlns:ui="http://java.sun.com/jsf/facelets";
>      xmlns:f="http://java.sun.com/jsf/core";
>      xmlns:h="http://java.sun.com/jsf/html";>
> <head>
>    <meta http-equiv="Content-Type" content="application/xhtml+xml"/>
>    <meta http-equiv="Pragma" content="no-cache"/>
>    <meta http-equiv="Expires" content="-1"/>
>    <link 
> href="#{facesContext.externalContext.requestContextPath}/secure/css/stylesheet2.css"
>  rel="stylesheet" type="text/css"/>
> </head>
>
> it works great in Firefox. But trying to open the same page in IE, IE just 
> asks f I want to save the file or find a
> program online to open it....
>
> How can I code the page so IE will display the page correctly?
>
>
> Regards,
>
> BTJ
>
> --
> -----------------------------------------------------------------------------------------------
> Bjørn T Johansen
>
> b...@havleik.no
> -----------------------------------------------------------------------------------------------
> Someone wrote:
> "I understand that if you play a Windows CD backwards you hear strange 
> Satanic messages"
> To which someone replied:
> "It's even worse than that; play it forwards and it installs Windows"
> -----------------------------------------------------------------------------------------------
>

Reply via email to