Not sure if I understand your question... I thought the server sent the content type and not the browser?
BTJ On Fri, 23 Jan 2009 15:19:37 -0700 Andrew Robinson <[email protected]> wrote: > what is your content type header that the browser is sending? > > On Fri, Jan 23, 2009 at 2:42 PM, Bjørn T Johansen <[email protected]> wrote: > > Ok, but I tried changing the content type to text/html with no change in > > the outcome... > > What else do I need to do to make IE work? > > > > BTJ > > > > On Fri, 23 Jan 2009 12:57:27 -0700 > > Andrew Robinson <[email protected]> wrote: > > > >> 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 <[email protected]> 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 > >> > > >> > [email protected] > >> > ----------------------------------------------------------------------------------------------- > >> > 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" > >> > ----------------------------------------------------------------------------------------------- > >> >

