diff --git a/1_Web_System/WebRoot/index.jsp b/1_Web_System/WebRoot/Page/main.jsp
similarity index 67%
rename from 1_Web_System/WebRoot/index.jsp
rename to 1_Web_System/WebRoot/Page/main.jsp
index ee20dc3..986d7da 100644
--- a/1_Web_System/WebRoot/index.jsp
+++ b/1_Web_System/WebRoot/Page/main.jsp
@@ -1,4 +1,4 @@
-<%@ page language="java" import="java.util.*,dao.HibernateDao" pageEncoding="US-ASCII"%>
+<%@ page language="java" import="java.util.*" pageEncoding="US-ASCII"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
@@ -9,7 +9,8 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
- My JSP 'index.jsp' starting page
+ My JSP 'Main.jsp' starting page
+
@@ -18,11 +19,15 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
+
-
-
- This is my JSP page.
-
- ${message }
+
+
+ Welcome to my Zone
+
+ Login
+
+ Register
+
diff --git a/1_Web_System/WebRoot/WEB-INF/dispatcher-servlet.xml b/1_Web_System/WebRoot/WEB-INF/dispatcher-servlet.xml
index 001158a..ff646e3 100644
--- a/1_Web_System/WebRoot/WEB-INF/dispatcher-servlet.xml
+++ b/1_Web_System/WebRoot/WEB-INF/dispatcher-servlet.xml
@@ -7,7 +7,9 @@ http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
-
+
+
+
diff --git a/1_Web_System/WebRoot/WEB-INF/web.xml b/1_Web_System/WebRoot/WEB-INF/web.xml
index 4aef5bf..8a9268f 100644
--- a/1_Web_System/WebRoot/WEB-INF/web.xml
+++ b/1_Web_System/WebRoot/WEB-INF/web.xml
@@ -1,6 +1,11 @@
-
+
+ Page/main.jsp
+
+
+
+
Archetype Created Web Application
@@ -21,7 +26,7 @@
contextConfigLocation
- /WEB-INF/dispatcher-servlet.xml
+ /WEB-INF/dispatcher-servlet.xml
@@ -29,4 +34,7 @@
org.springframework.web.context.ContextLoaderListener
+
+
+
\ No newline at end of file
diff --git a/1_Web_System/WebRoot/editUserProfile.jsp b/1_Web_System/WebRoot/editUserProfile.jsp
new file mode 100644
index 0000000..e43cc97
--- /dev/null
+++ b/1_Web_System/WebRoot/editUserProfile.jsp
@@ -0,0 +1,37 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
+<%@ page language="java" import="java.util.*" pageEncoding="US-ASCII"%>
+<%
+String path = request.getContextPath();
+String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+ Edit
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Username:
+ Password:
+ Age:
+ Email:
+
+
+
+
diff --git a/1_Web_System/WebRoot/login(old).jsp b/1_Web_System/WebRoot/login(old).jsp
new file mode 100644
index 0000000..e83faba
--- /dev/null
+++ b/1_Web_System/WebRoot/login(old).jsp
@@ -0,0 +1,43 @@
+<%@ page language="java" import="java.util.*" pageEncoding="US-ASCII"%>
+<%
+String path = request.getContextPath();
+String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
+%>
+
+
+
+
+
+
+ My JSP 'helloworld.jsp' starting page
+
+
+
+
+
+
+
+
+
+
+
+
+ Spring Test
+
+
+
+ ${ErrorMessage }
+
+
+
+
+
diff --git a/1_Web_System/WebRoot/login.jsp b/1_Web_System/WebRoot/login.jsp
index 74abc52..61d0499 100644
--- a/1_Web_System/WebRoot/login.jsp
+++ b/1_Web_System/WebRoot/login.jsp
@@ -1,4 +1,6 @@
-<%@ page language="java" import="java.util.*" pageEncoding="US-ASCII"%>
+<%@ page language="java" import="java.util.*,dao.HibernateDao" pageEncoding="US-ASCII"%>
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
+
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
@@ -9,8 +11,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
- My JSP 'helloworld.jsp' starting page
-
+ My JSP 'index.jsp' starting page
@@ -19,18 +20,21 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
-
-
+
-
- Spring Test
-
-
-
+ Please Enter You UserName and PassWord
+
+
+
+ ${kj }
+ ${message }
+