I'm learning facelets. I have created my first hello world facelet called: MyXhtml.xhtml. When I access it from Internet Explorer the file download dialog is displayed. When I press "Open" another download dialog is displayed and so on.
In FireFox the page is displayed without any problems.
How can I display a xhtml facelet page in IE? I am using IE 7.
Note I am using MyEclipse and they recommend the xhtml extension over jspx.
Below is my sample code.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en">
<head>
<title>My XHTML Page</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
content="A short description of this page." />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!--<link rel="stylesheet" type="text/css" href="styles.css">-->
</head>
<body>
<p>
This is my XHTML page.
</p>
</body>
</html>
Thanks in advance...