@@ -13,9 +45,16 @@
Cookie userName=new Cookie("User", user);
response.addCookie(userName);
if (user != null && user.length() > 0) {
- out.println("\t\t
");
- out.println("\t\t\tUser: " + user + "
");
- out.println("\t\t\t
Logout\t\t\t" + "
| Change Password");
+ out.println("\t\t
");
+ out.println("
");
+
out.println("\t\t
");
}
%>
diff --git a/teamengine-web/src/main/webapp/updateUserDetails.jsp b/teamengine-web/src/main/webapp/updateUserDetails.jsp
new file mode 100644
index 000000000..19e837450
--- /dev/null
+++ b/teamengine-web/src/main/webapp/updateUserDetails.jsp
@@ -0,0 +1,101 @@
+<%@page import="java.util.Collection"%>
+<%@ page language="java"
+ import="java.io.File, javax.xml.parsers.*, java.util.Arrays, com.occamlab.te.web.*, java.util.List, java.util.ArrayList"%>
+<%
+String username = request.getRemoteUser();
+String email = session.getAttribute("email").toString();
+String organization = session.getAttribute("organization").toString();
+%>
+
+
+
+
+
+
Update User Details
+
+
+
+ <%@ include file="header.jsp"%>
+
Update User Details
+
+ <%
+ if ("invalidPwd".equals(request.getParameter("error"))) {
+ out.println("Password did not match.");
+ } else if("userNotExists".equals(request.getParameter("error"))){
+ out.println("Not valid user!");
+ }
+ %>
+
+
+
+ <%@ include file="footer.jsp"%>
+
+
diff --git a/teamengine-web/src/main/webapp/viewSessions.jsp b/teamengine-web/src/main/webapp/viewSessions.jsp
index 4c7e87cc5..c2936c93c 100644
--- a/teamengine-web/src/main/webapp/viewSessions.jsp
+++ b/teamengine-web/src/main/webapp/viewSessions.jsp
@@ -66,6 +66,14 @@
<%@ include file="header.jsp" %>
Test Sessions
+
+ <%
+ if ("updateDetails".equals(request.getParameter("success"))) {
+ out.println("User details updated successfully!");
+ }
+ %>
+
+
Create a new session