单项选择题

A."Whenausersuppliesavalidusernameandpassword,anHttpSessioniscreatedforthatuser.Theuserhasaccesstotheapplicationforonly15minutesafterloggingin.Thecodemustdeterminehowlongtheuserhasbeenloggedin,andifthistimeisgreaterthan15minutes,mustdestroytheHttpSession.Whichmethodin
B.Getcreationtime
C.Invalidateafter
D.Getlastaccessedtime
E.Getmaxinactiveinterval
相关考题

单项选择题 GivenanHttpServletRequestrequestandanHttpServletResponseresponse:41.HttpSessionsession=null;42.//insertcodehere43.if(session==null){44.//dosomethingifsessiondoesnotexist45.}else{46.//dosomethingifsessionexists47.}Toimplementthedesignintent,whichstatementmustbeinsertedatline42?()A.session=response.getSession();B.session=request.getSession();C.session=request.getSession(true);D.session=request.getSession(false);E.session=request.getSession("jsessionid");

单项选择题 WhichmethodmustbeusedtoencodeaURLpassedasanargumenttoHttpServletResponse.sendRedirectwhenusingURLrewritingforsessiontracking?()

单项选择题 AJSPpageneedstoperformsomeoperationsbeforeservicingthefirstrequest.Wherecanthisbedone?()

单项选择题 Youarebuildingawebapplicationwithaschedulingcomponent.OntheJSP,youneedtoshowthecurrentdate,thedateofthepreviousweek,andthedateofthenextweek.Tohelpyoupresentthisinformation,youhavecreatedthefollowingELfunctionsinthe’d’namespace:name:curDate;signature:java.util.DatecurrentDate()name:addWeek;signature:java.util.DateaddWeek(java.util.Date,int)name:dateString;signature:java.util.StringgetDateString(java.util.Date)WhichELcodesnippetwillgeneratethestringforthepreviousweek?A.${d:dateString(addWeek(curDate(),-1))}B.${d:dateString[addWeek[curDate[],-1]]}C.${d:dateString[d:addWeek[d:curDate[],-1]]}D.${d:dateString(d:addWeek(d:curDate(),-1))}

单项选择题 钱掌柜的买家级别设置不包含以下哪几个等级?()

单项选择题 抵价券的面值没有以下哪种?()

单项选择题 商业信息传播的维度中没有以下哪个?()

单项选择题 支付宝是淘宝唯一的在线付款方式,安全交易的手段不包含以下哪个?()

单项选择题 Whenaddingaelementtoawebapplicationdeploymentdescriptor,theinclusionofwhichsub-elementrequiresthedefinitionofanerrorpage()?

单项选择题 满就送服务不包含以下哪种优惠方式?()

单项选择题 支付宝用以下哪种方式不能支付?()

单项选择题 新商业文明会带来的革命不包含以下哪个方面?()

单项选择题 网络零售的特点不包含以下哪个?()

单项选择题 以下可以做为商城商品主图的是?()

单项选择题 设置合理的宝贝名称可以达到的主要效果不包括以下哪条?()

单项选择题 Company.comhasdecidedtousetheFUBARApplicationServertohosttheirwebapplication.Unfortunately,theFUBARApplicationServerusestheservermachine’sfilesystemforitsJNDInamespace.EveryJNDIlookupperformedinthewebapplicationistranslatedintoafile1/0operation,whichresultsinverypoorperformance.WhichJ2EEpatterncanhelpwiththisperformanceissue?()A.TransferObjectB.ServiceLocatorC.InterceptingFilterD.Model-View-Controller

单项选择题 支付宝交易不包含以下哪种交易状态?()

单项选择题 WhichischaracteristicoftheBusinessDelegatepattern?()

单项选择题 联合推广的类型不包含以下哪种?()

单项选择题 新商业文明不包含下列些特质?()