为什么Session取不到数据啊?
我的服务器为Weblogic;
文件ss.jsp内容如下:
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%session.setAttribute("username","baby");%>
<%session.setAttribute("password","baby");%>
<body>
ID:<%session.getId().toString();%>
<p>Your username is:<%session.getAttribute("username").toString();%>
</p>
<p>Your password is:<%session.getAttribute("password").toString();%>
</p>
</body>
</html>