Adding <f:view> tag to set content type to "text/html" to fix rendering problem on the JSF 1.2 RI.

This commit is contained in:
Jeremy Grelle
2008-03-14 19:43:30 +00:00
parent cbf0df5b42
commit 21d6318484

View File

@@ -1,8 +1,9 @@
<!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"
xmlns:c="http://java.sun.com/jstl/core">
<f:view contentType="text/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Spring Faces: Hotel Booking Sample Application</title>
@@ -52,4 +53,5 @@
</div>
</body>
</f:view>
</html>