在J2EE中,假如HttpSession的getLastAccessTime()方法返回的值为x,getCreationTime()方法返回的值为y,则x-y为()。
HttpSession session=request.getSession(false)与HttpSession session = request.getSession(true)的区别()。
A web application uses the HttpSession mechanism to determine if a user is "logged in." When a usersupplies a valid user name and password, an HttpSession is created for that user. The user has access tothe application for only 15 minutes after logging in. The code must determine how long the user has beenlogged in, and if this time is greater than 15 minutes, must destroy the HttpSession. Which method in HttpSession is used to accomplish this?()
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()
Given an HttpSession session,a ServletRequest request,and a ServletContext context,which retrieves aURL to /WEB-INF/myconfig.xml within a web application?()
在public HttpSession getSession(boolean bool)的方法定义中,当bool为false时表明()
下列选项中关于HttpSession描述错误的是()。
每个HttpSession对象都有惟一的ID。
Which HttpSession method stores an object in a session?()
HttpSession失效的时机是()。