You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2014/04/14 22:39:43 UTC

[2/3] git commit: Moves JSPs under /WEB-INF to promote good practises

Moves JSPs under /WEB-INF to promote good practises


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

Branch: refs/heads/develop
Commit: 0b510cab890de57c4c164d85e8bb8bfc13d27ec1
Parents: 13a3b92
Author: Lukasz Lenart <lu...@apache.org>
Authored: Mon Apr 14 22:38:44 2014 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Mon Apr 14 22:38:44 2014 +0200

----------------------------------------------------------------------
 .../src/main/webapp/WEB-INF/jsp/helloWorld.jsp  | 32 ++++++++---------
 .../src/main/webapp/WEB-INF/jsp/index.jsp       | 38 ++++++++++----------
 2 files changed, 35 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/0b510cab/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/helloWorld.jsp
----------------------------------------------------------------------
diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/helloWorld.jsp b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/helloWorld.jsp
index 41176a2..6d4a091 100644
--- a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/helloWorld.jsp
+++ b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/helloWorld.jsp
@@ -1,16 +1,16 @@
-<!DOCTYPE html PUBLIC 
-	"-//W3C//DTD XHTML 1.1 Transitional//EN"
-	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-	
-<%@taglib prefix="s" uri="/struts-tags" %>
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-	<title>Hello World</title>
-	<s:head />
-</head>
-<body>
-	Hello <s:property value="name"/>, today is <s:property value="dateNow" /><br/>
-
-</body>
-</html>
+<!DOCTYPE html PUBLIC 
+	"-//W3C//DTD XHTML 1.1 Transitional//EN"
+	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+	
+<%@taglib prefix="s" uri="/struts-tags" %>
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+	<title>Hello World</title>
+	<s:head />
+</head>
+<body>
+	Hello <s:property value="name"/>, today is <s:property value="dateNow" /><br/>
+
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/struts/blob/0b510cab/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/index.jsp
----------------------------------------------------------------------
diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/index.jsp b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/index.jsp
index 71d4e1f..683fdcc 100644
--- a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/index.jsp
+++ b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/jsp/index.jsp
@@ -1,20 +1,20 @@
-<!DOCTYPE html PUBLIC 
-	"-//W3C//DTD XHTML 1.1 Transitional//EN"
-	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-	
-<%@taglib prefix="s" uri="/struts-tags" %>
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-	<title>Index</title>
-	<s:head />
-</head>
-<body>
-	<s:form action="helloWorld">
-		<s:textfield label="What is your name?" name="name" />
-		<s:textfield label="What is the date?" name="dateNow" />
-		<s:submit />
-	</s:form>
-</body>
-</html>
+<!DOCTYPE html PUBLIC 
+	"-//W3C//DTD XHTML 1.1 Transitional//EN"
+	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+	
+<%@taglib prefix="s" uri="/struts-tags" %>
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+	<title>Index</title>
+	<s:head />
+</head>
+<body>
+	<s:form action="helloWorld">
+		<s:textfield label="What is your name?" name="name" />
+		<s:textfield label="What is the date?" name="dateNow" />
+		<s:submit />
+	</s:form>
+</body>
+</html>
 	
\ No newline at end of file