<%
session.setAttribute("str",new String("this is test"));
%>
<%
String ls_str=null;
ls_str=(String)session.getAttribute("str");
out.println("从session里取出的值为:"+ls_str);
%>
时间: 2024-10-01 20:42:56
<%
session.setAttribute("str",new String("this is test"));
%>
<%
String ls_str=null;
ls_str=(String)session.getAttribute("str");
out.println("从session里取出的值为:"+ls_str);
%>