Yes! the browser takes the content type, which is sent by the server
as part of the http-header. but have a look at this ugly anouncement http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx
.
burghard.
Am 23.01.2009 um 23:44 schrieb Bjørn T Johansen:
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 <andrew.rw.robin...@gmail.com> 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 <b...@havleik.no>
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 <andrew.rw.robin...@gmail.com> 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
<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