\ No newline at end of file
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/dataAccessFailure.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/dataAccessFailure.jspx
index 3fd4aeb625..e815684ea9 100644
--- a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/dataAccessFailure.jspx
+++ b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/dataAccessFailure.jspx
@@ -1,30 +1,29 @@
-
-
-
-
-
-
-
${title}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
${fn:escapeXml(title)}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/footer.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/footer.jspx
new file mode 100644
index 0000000000..89af49c71a
--- /dev/null
+++ b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/footer.jspx
@@ -0,0 +1,36 @@
+
+
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/header.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/header.jspx
new file mode 100644
index 0000000000..fea8152070
--- /dev/null
+++ b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/header.jspx
@@ -0,0 +1,10 @@
+
\ No newline at end of file
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index-template.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index-template.jspx
new file mode 100644
index 0000000000..871bc55ca4
--- /dev/null
+++ b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index-template.jspx
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index.jspx
index ee8e0a1c98..75ce000a4d 100644
--- a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index.jspx
+++ b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/index.jspx
@@ -1,11 +1,13 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/loanshark/create.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/loanshark/create.jspx
deleted file mode 100644
index 3fa6350f09..0000000000
--- a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/loanshark/create.jspx
+++ /dev/null
@@ -1,51 +0,0 @@
-
\ No newline at end of file
diff --git a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/uncaughtException.jspx b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/uncaughtException.jspx
index 267f8eb116..2196d38864 100644
--- a/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/uncaughtException.jspx
+++ b/spring-integration-samples/loanshark/src/main/webapp/WEB-INF/views/uncaughtException.jspx
@@ -1,29 +1,28 @@
-