You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by sd...@apache.org on 2017/05/01 07:23:32 UTC

[4/8] struts-examples git commit: changed to html5

changed to html5


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/83d7d5c0
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/83d7d5c0
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/83d7d5c0

Branch: refs/heads/master
Commit: 83d7d5c08491cffafce7f374dde432c831eaa440
Parents: c14031c
Author: Stefaan Dutry <st...@gmail.com>
Authored: Tue Apr 25 22:33:38 2017 +0200
Committer: Stefaan Dutry <st...@gmail.com>
Committed: Tue Apr 25 22:33:38 2017 +0200

----------------------------------------------------------------------
 form-processing/src/main/webapp/HelloWorld.jsp | 2 +-
 form-processing/src/main/webapp/index.jsp      | 2 +-
 form-processing/src/main/webapp/register.jsp   | 5 ++---
 form-processing/src/main/webapp/thankyou.jsp   | 5 ++---
 4 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/83d7d5c0/form-processing/src/main/webapp/HelloWorld.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/HelloWorld.jsp b/form-processing/src/main/webapp/HelloWorld.jsp
index d207c34..5c56355 100644
--- a/form-processing/src/main/webapp/HelloWorld.jsp
+++ b/form-processing/src/main/webapp/HelloWorld.jsp
@@ -1,6 +1,6 @@
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html>
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/83d7d5c0/form-processing/src/main/webapp/index.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/index.jsp b/form-processing/src/main/webapp/index.jsp
index 9d972fd..18a3bb5 100644
--- a/form-processing/src/main/webapp/index.jsp
+++ b/form-processing/src/main/webapp/index.jsp
@@ -1,6 +1,6 @@
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html>
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/83d7d5c0/form-processing/src/main/webapp/register.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/register.jsp b/form-processing/src/main/webapp/register.jsp
index 647cd0c..dd4758e 100644
--- a/form-processing/src/main/webapp/register.jsp
+++ b/form-processing/src/main/webapp/register.jsp
@@ -1,8 +1,7 @@
-<?xml version="1.0" encoding="UTF-8" ?>
 <%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="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">
+<!DOCTYPE html>
+<html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <title>Register</title>

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/83d7d5c0/form-processing/src/main/webapp/thankyou.jsp
----------------------------------------------------------------------
diff --git a/form-processing/src/main/webapp/thankyou.jsp b/form-processing/src/main/webapp/thankyou.jsp
index 27f7b6a..665339f 100644
--- a/form-processing/src/main/webapp/thankyou.jsp
+++ b/form-processing/src/main/webapp/thankyou.jsp
@@ -1,8 +1,7 @@
-<?xml version="1.0" encoding="UTF-8" ?>
 <%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="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">
+<!DOCTYPE html>
+<html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <title>Registration Successful</title>