我有以下问题,并想检查我是否正确。
<title>Exam</title>
</head>
<body>
<% Integer times = (Integer)(session.getAttribute("times")) ;
if (times == null) { times = new Integer(0) ; }
else { times = new Integer(times.intValue() + 1) ;
session.setAttribute("times", times) ;}
%>
times = <%=times %>
用户 A 首次访问 Exam。他收到的页面显示时间=0。假设以下事件完全按照描述的顺序发生,请完成下面的 times= _ 。
用户 A 从同一浏览器窗口第二次访问 Exam。他收到回时间= _ _。
用户 B 第一次从另一台计算机访问 Exam。他收到回时间= _ _。
用户 A 第三次从另一台计算机访问 Exam。他收到回时间= _ _。
- 1
- 无效的
- 无效的