added indentation to jsp files

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

Branch: refs/heads/master
Commit: 65ebbae1e592d3454244dca2df62460a1f266640
Parents: b3715b9
Author: Stefaan Dutry <stefaan.du...@gmail.com>
Authored: Sun Apr 23 18:12:25 2017 +0200
Committer: Stefaan Dutry <stefaan.du...@gmail.com>
Committed: Sun Apr 23 18:12:25 2017 +0200

----------------------------------------------------------------------
 coding-actions/src/main/webapp/HelloWorld.jsp | 20 +++++-------
 coding-actions/src/main/webapp/index.jsp      | 38 ++++++++++------------
 2 files changed, 25 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/65ebbae1/coding-actions/src/main/webapp/HelloWorld.jsp
----------------------------------------------------------------------
diff --git a/coding-actions/src/main/webapp/HelloWorld.jsp 
b/coding-actions/src/main/webapp/HelloWorld.jsp
index 4e19ac9..b15b53c 100644
--- a/coding-actions/src/main/webapp/HelloWorld.jsp
+++ b/coding-actions/src/main/webapp/HelloWorld.jsp
@@ -2,19 +2,15 @@
 <%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8" %>
 <html>
-<head>
+  <head>
     <meta charset="UTF-8">
     <title>Hello World!</title>
-</head>
-
-<body>
-<h2><s:property value="%{messageStore.message}"/></h2>
-
-<p>I've said hello <s:property value="%{helloCount}"/> times!</p>
-
-<p><s:property value="%{messageStore}"/></p>
-
-<p><a href="<s:url action='index'/>">Home Page</a></p>
-</body>
+  </head>
 
+  <body>
+    <h2><s:property value="%{messageStore.message}"/></h2>
+    <p>I've said hello <s:property value="%{helloCount}"/> times!</p>
+    <p><s:property value="%{messageStore}"/></p>
+    <p><a href="<s:url action='index'/>">Home Page</a></p>
+  </body>
 </html>

http://git-wip-us.apache.org/repos/asf/struts-examples/blob/65ebbae1/coding-actions/src/main/webapp/index.jsp
----------------------------------------------------------------------
diff --git a/coding-actions/src/main/webapp/index.jsp 
b/coding-actions/src/main/webapp/index.jsp
index f96ec7f..bc167d4 100644
--- a/coding-actions/src/main/webapp/index.jsp
+++ b/coding-actions/src/main/webapp/index.jsp
@@ -2,29 +2,25 @@
 <%@ taglib prefix="s" uri="/struts-tags" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8" %>
 <html>
-<head>
+  <head>
     <meta charset="UTF-8">
     <title>Basic Struts 2 Application - Welcome</title>
-</head>
+  </head>
 
-<body>
-<h1>Welcome To Struts 2!</h1>
-
-<p>
-    <a href="<s:url action='hello'/>">Hello World</a>
-</p>
-<s:url action="hello" var="helloLink">
-    <s:param name="userName">Bruce Phillips</s:param>
-</s:url>
-<p><a href="${helloLink}">Hello Bruce Phillips</a></p>
-
-<p>Get your own personal hello by filling out and submitting this form.</p>
-
-<s:form action="hello">
-    <s:textfield name="userName" label="%{'Your name'}"/>
-    <s:submit value="%{'Submit'}"/>
-
-</s:form>
-</body>
+  <body>
+    <h1>Welcome To Struts 2!</h1>
+    <p>
+      <a href="<s:url action='hello'/>">Hello World</a>
+    </p>
+    <s:url action="hello" var="helloLink">
+      <s:param name="userName">Bruce Phillips</s:param>
+    </s:url>
+    <p><a href="${helloLink}">Hello Bruce Phillips</a></p>
 
+    <p>Get your own personal hello by filling out and submitting this form.</p>
+    <s:form action="hello">
+      <s:textfield name="userName" label="%{'Your name'}"/>
+      <s:submit value="%{'Submit'}"/>
+    </s:form>
+  </body>
 </html>

Reply via email to