+ style="position: static; background-color: black; width: 100%; height: 100px; overflow: hidden">
-
- <%@include file="site/title.html" %>
+
+ <%@include file="site/title.html" %>
<%
String user = request.getRemoteUser();
- Cookie userName=new Cookie("User", user);
- response.addCookie(userName);
+ Cookie c_userName=new Cookie("User", user);
+ response.addCookie(c_userName);
if (user != null && user.length() > 0) {
out.println("\t\t
");
out.println("
");
@@ -57,7 +167,34 @@
out.println("\t\t
");
}
- %>
+ %>
+
+
diff --git a/teamengine-web/src/main/webapp/updateUserDetails.jsp b/teamengine-web/src/main/webapp/updateUserDetails.jsp
index 19e837450..a9ec64235 100644
--- a/teamengine-web/src/main/webapp/updateUserDetails.jsp
+++ b/teamengine-web/src/main/webapp/updateUserDetails.jsp
@@ -3,8 +3,8 @@
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();
+String email = (String) session.getAttribute("email");
+String organization = (String) session.getAttribute("organization");
%>