[jboss-cvs] jboss-seam/examples/registration/view ...
Gavin King
gavin.king at jboss.com
Thu Jul 13 23:06:41 EDT 2006
User: gavin
Date: 06/07/13 23:06:41
Modified: examples/registration/view register.jsp registered.jsp
Log:
make it work on ie, and ditch jsp:root
Revision Changes Path
1.5 +36 -38 jboss-seam/examples/registration/view/register.jsp
(In the diff below, changes in quantity of whitespace are not shown.)
Index: register.jsp
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/registration/view/register.jsp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- register.jsp 13 Jul 2006 18:09:09 -0000 1.4
+++ register.jsp 14 Jul 2006 03:06:41 -0000 1.5
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
+<html xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns="http://www.w3.org/1999/xhtml"
- version="1.2">
-<jsp:directive.page contentType="text/html;charset=utf-8"/>
-
-<html>
+ xmlns="http://www.w3.org/1999/xhtml">
+ <jsp:output doctype-root-element="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <jsp:directive.page contentType="text/html"/>
<head>
<title>Register New User</title>
</head>
@@ -36,5 +36,3 @@
</f:view>
</body>
</html>
-
-</jsp:root>
1.3 +17 -19 jboss-seam/examples/registration/view/registered.jsp
(In the diff below, changes in quantity of whitespace are not shown.)
Index: registered.jsp
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/registration/view/registered.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- registered.jsp 13 Jul 2006 18:09:09 -0000 1.2
+++ registered.jsp 14 Jul 2006 03:06:41 -0000 1.3
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
+<html xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
- xmlns="http://www.w3.org/1999/xhtml"
- version="1.2">
-<jsp:directive.page contentType="text/html;charset=utf-8"/>
-
-<html>
+ xmlns="http://www.w3.org/1999/xhtml">
+ <jsp:output doctype-root-element="html"
+ doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
+ doctype-system="http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+ <jsp:directive.page contentType="text/html"/>
<head>
<title>Successfully Registered New User</title>
</head>
@@ -17,5 +17,3 @@
</f:view>
</body>
</html>
-
-</jsp:root>
More information about the jboss-cvs-commits
mailing list