diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bed0d6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,23 @@
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.ear
+*.zip
+*.tar.gz
+*.rar
+*.DS_Store
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..25504da
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2015 Le Thu Nguyen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/META-INF/MANIFEST.MF b/META-INF/MANIFEST.MF
new file mode 100755
index 0000000..af6634d
--- /dev/null
+++ b/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1.0
+Built-By: Amanda
+Build-Jdk: 1.8.0_45
+Created-By: Maven Integration for Eclipse
+
diff --git a/META-INF/maven/com.scxPRTL/src/pom.properties b/META-INF/maven/com.scxPRTL/src/pom.properties
new file mode 100755
index 0000000..670837f
--- /dev/null
+++ b/META-INF/maven/com.scxPRTL/src/pom.properties
@@ -0,0 +1,7 @@
+#Generated by Maven Integration for Eclipse
+#Thu May 07 01:59:45 NZST 2015
+version=1.0.0-BUILD-SNAPSHOT
+groupId=com.scxPRTL
+m2e.projectName=scxPRTL1
+m2e.projectLocation=E\:\\work\\CSX\\spring\\scxPRTL1
+artifactId=src
diff --git a/META-INF/maven/com.scxPRTL/src/pom.xml b/META-INF/maven/com.scxPRTL/src/pom.xml
new file mode 100755
index 0000000..11780c4
--- /dev/null
+++ b/META-INF/maven/com.scxPRTL/src/pom.xml
@@ -0,0 +1,158 @@
+
+
+ 4.0.0
+ com.scxPRTL
+ src
+ scxPRTL1
+ war
+ 1.0.0-BUILD-SNAPSHOT
+
+ 1.6
+ 3.1.1.RELEASE
+ 1.6.10
+ 1.6.6
+
+
+
+
+ org.springframework
+ spring-context
+ ${org.springframework-version}
+
+
+
+ commons-logging
+ commons-logging
+
+
+
+
+ org.springframework
+ spring-webmvc
+ ${org.springframework-version}
+
+
+
+
+ org.aspectj
+ aspectjrt
+ ${org.aspectj-version}
+
+
+
+
+ org.slf4j
+ slf4j-api
+ ${org.slf4j-version}
+
+
+ org.slf4j
+ jcl-over-slf4j
+ ${org.slf4j-version}
+ runtime
+
+
+ org.slf4j
+ slf4j-log4j12
+ ${org.slf4j-version}
+ runtime
+
+
+ log4j
+ log4j
+ 1.2.15
+
+
+ javax.mail
+ mail
+
+
+ javax.jms
+ jms
+
+
+ com.sun.jdmk
+ jmxtools
+
+
+ com.sun.jmx
+ jmxri
+
+
+ runtime
+
+
+
+
+ javax.inject
+ javax.inject
+ 1
+
+
+
+
+ javax.servlet
+ servlet-api
+ 2.5
+ provided
+
+
+ javax.servlet.jsp
+ jsp-api
+ 2.1
+ provided
+
+
+ javax.servlet
+ jstl
+ 1.2
+
+
+
+
+ junit
+ junit
+ 4.7
+ test
+
+
+
+
+
+ maven-eclipse-plugin
+ 2.9
+
+
+ org.springframework.ide.eclipse.core.springnature
+
+
+ org.springframework.ide.eclipse.core.springbuilder
+
+ true
+ true
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.5.1
+
+ 1.6
+ 1.6
+ -Xlint:all
+ true
+ true
+
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 1.2.1
+
+ org.test.int1.Main
+
+
+
+
+
diff --git a/README.md b/README.md
index 9f5fc84..8c53982 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,16 @@
+
+[![licence badge]][licence]
+[![stars badge]][stars]
+[![issues badge]][issues]
+
+[licence badge]:https://img.shields.io/badge/license-MIT-blue.svg
+[stars badge]:https://img.shields.io/github/stars/hey-red/Markdown.svg
+[issues badge]:https://img.shields.io/github/issues/hey-red/Markdown.svg
+
+[licence]:https://github.com/nglthu/basicSpringMVC/blob/master/License
+[stars]:https://github.com/nglthu/basicSpringMVC/stargazers
+[issues]:https://github.com/nglthu/basicSpringMVC/issues
+
+
Spring MVC framework.
war file is ready to post on AWS
diff --git a/WEB-INF/classes/com/scxPRTL/src/HomeController.class b/WEB-INF/classes/com/scxPRTL/src/HomeController.class
new file mode 100755
index 0000000..feb196c
Binary files /dev/null and b/WEB-INF/classes/com/scxPRTL/src/HomeController.class differ
diff --git a/WEB-INF/classes/log4j.xml b/WEB-INF/classes/log4j.xml
new file mode 100755
index 0000000..583662e
--- /dev/null
+++ b/WEB-INF/classes/log4j.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WEB-INF/lib/aopalliance-1.0.jar b/WEB-INF/lib/aopalliance-1.0.jar
new file mode 100755
index 0000000..578b1a0
Binary files /dev/null and b/WEB-INF/lib/aopalliance-1.0.jar differ
diff --git a/WEB-INF/lib/aspectjrt-1.6.10.jar b/WEB-INF/lib/aspectjrt-1.6.10.jar
new file mode 100755
index 0000000..94f9410
Binary files /dev/null and b/WEB-INF/lib/aspectjrt-1.6.10.jar differ
diff --git a/WEB-INF/lib/javax.inject-1.jar b/WEB-INF/lib/javax.inject-1.jar
new file mode 100755
index 0000000..b2a9d0b
Binary files /dev/null and b/WEB-INF/lib/javax.inject-1.jar differ
diff --git a/WEB-INF/lib/jcl-over-slf4j-1.6.6.jar b/WEB-INF/lib/jcl-over-slf4j-1.6.6.jar
new file mode 100755
index 0000000..ab898c0
Binary files /dev/null and b/WEB-INF/lib/jcl-over-slf4j-1.6.6.jar differ
diff --git a/WEB-INF/lib/jstl-1.2.jar b/WEB-INF/lib/jstl-1.2.jar
new file mode 100755
index 0000000..0fd275e
Binary files /dev/null and b/WEB-INF/lib/jstl-1.2.jar differ
diff --git a/WEB-INF/lib/log4j-1.2.15.jar b/WEB-INF/lib/log4j-1.2.15.jar
new file mode 100755
index 0000000..c930a6a
Binary files /dev/null and b/WEB-INF/lib/log4j-1.2.15.jar differ
diff --git a/WEB-INF/lib/slf4j-api-1.6.6.jar b/WEB-INF/lib/slf4j-api-1.6.6.jar
new file mode 100755
index 0000000..4c03fa6
Binary files /dev/null and b/WEB-INF/lib/slf4j-api-1.6.6.jar differ
diff --git a/WEB-INF/lib/slf4j-log4j12-1.6.6.jar b/WEB-INF/lib/slf4j-log4j12-1.6.6.jar
new file mode 100755
index 0000000..e72c2d6
Binary files /dev/null and b/WEB-INF/lib/slf4j-log4j12-1.6.6.jar differ
diff --git a/WEB-INF/lib/spring-aop-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-aop-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..73ba404
Binary files /dev/null and b/WEB-INF/lib/spring-aop-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-asm-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-asm-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..20d7938
Binary files /dev/null and b/WEB-INF/lib/spring-asm-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-beans-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-beans-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..a69bcb1
Binary files /dev/null and b/WEB-INF/lib/spring-beans-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-context-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-context-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..a35e486
Binary files /dev/null and b/WEB-INF/lib/spring-context-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-context-support-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-context-support-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..8e8fff4
Binary files /dev/null and b/WEB-INF/lib/spring-context-support-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-core-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-core-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..bdd8944
Binary files /dev/null and b/WEB-INF/lib/spring-core-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-expression-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-expression-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..0e445b9
Binary files /dev/null and b/WEB-INF/lib/spring-expression-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-web-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-web-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..42ed92c
Binary files /dev/null and b/WEB-INF/lib/spring-web-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/lib/spring-webmvc-3.1.1.RELEASE.jar b/WEB-INF/lib/spring-webmvc-3.1.1.RELEASE.jar
new file mode 100755
index 0000000..8e27a5b
Binary files /dev/null and b/WEB-INF/lib/spring-webmvc-3.1.1.RELEASE.jar differ
diff --git a/WEB-INF/spring/appServlet/servlet-context.xml b/WEB-INF/spring/appServlet/servlet-context.xml
new file mode 100755
index 0000000..23ec009
--- /dev/null
+++ b/WEB-INF/spring/appServlet/servlet-context.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WEB-INF/spring/root-context.xml b/WEB-INF/spring/root-context.xml
new file mode 100755
index 0000000..f7a30f0
--- /dev/null
+++ b/WEB-INF/spring/root-context.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
diff --git a/WEB-INF/views/home.jsp b/WEB-INF/views/home.jsp
new file mode 100755
index 0000000..0b050f6
--- /dev/null
+++ b/WEB-INF/views/home.jsp
@@ -0,0 +1,14 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ page session="false" %>
+
+
+ Home
+
+
+
+ Hello world: ${nameValue}
+
+
+ The time on the server is ${serverTime}.
+
+
diff --git a/WEB-INF/views/home2.jsp b/WEB-INF/views/home2.jsp
new file mode 100755
index 0000000..0737d26
--- /dev/null
+++ b/WEB-INF/views/home2.jsp
@@ -0,0 +1,14 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ page session="false" %>
+
+
+ Home
+
+
+
+ Hello world, ${name2Value} oi co gang len nhe, testing view two in the same controller!
+
+
+ The time on the server is ${serverTime}.
+
+
diff --git a/WEB-INF/web.xml b/WEB-INF/web.xml
new file mode 100755
index 0000000..b6cc56c
--- /dev/null
+++ b/WEB-INF/web.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+ contextConfigLocation
+ /WEB-INF/spring/root-context.xml
+
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+ appServlet
+ org.springframework.web.servlet.DispatcherServlet
+
+ contextConfigLocation
+ /WEB-INF/spring/appServlet/servlet-context.xml
+
+ 1
+
+
+
+ appServlet
+ /
+
+
+