Which of the following is true to Wikipedia?
A.More than 4,000 pages are offered for edition.
B.More than 2,400 Wikipedians work for the edition.
C.Everyone can do the revision on the web page.
D.The entries contribute to people's development.
第1题
A.Compilationsucceedsandlisprinted.
B.Compilationsucceedsand2printed.
C.Anerroratline8causecompilationtofail.
D.Anerroratline14causecomplicationtofail.
E.Complicationsucceedsbutanexceptionisthrownatline14.
第2题
A.Accesstosession-scopedattributesisguaranteedtobethread-safebythewebcontainer.
B.ToactivateURLrewriting,thedevelopermustusetheHttpServletResponse.setURLRewritingmethod.
C.IfthewebapplicationusesHTTPS,thenthewebcontainermayusethedataontheHTTPSrequest streamtoidentifytheclient.
D.TheJSESSIONIDcookieisstoredpermanentlyontheclientsothatausermayreturntotheweb applicationandthewebcontainerwillrejointhatsession.
第3题
A.Compilationsucceedsand4isprinted.
B.Compilation……………isprinted.
C.Anerroronline9causecompilationtofail.
D.Anerroronline14causecompilationtofail.
E.Compilationsucceedsbutanexceptionisthrownatline9.
第4题
A.privatevoidsetVar(inta,floatc,intb){}
B.protectedvoidsetVar(inta,intb,floatc){}
C.publicintsetVar(inta,floatc,intb){returna:}
D.publicintsetVar(inta,intb,floatc){returna:}
E.protectedfloatsetVar(inta,intb,floatc){returnc:}
第5题
A.CreateanHttpSessionAttributeListenerclassandimplementtheattributeDeletedmethodandlogthe attributenameusingthegetNamemethodontheeventobject.
B.CreateanHttpSessionAttributeListenerclassandimplementtheattributeRemovedmethodandlogthe attributenameusingthegetNamemethodontheeventobject.
C.CreateanSessionAttributeListenerclassandimplementtheattributeRemovedmethodandlogthe attributenameusingthegetAttributeNamemethodontheeventobject.
D.CreateanSessionAttributeListenerclassandimplementtheattributeDeletedmethodandlogthe attributenameusingthegetAttributeNamemethodontheeventobject.
第6题
A.longcustomerOID=47L;session.setAttribute("customerOID",newLong(customerOID));
B.longcustomerOID=47L;session.setLongAttribute("customerOID",newLong(customerOID));
C.longcustomerOID=47L;session.setAttribute("customerOID",customerOID);
D.longcustomerOID=47L;session.setNumericAttribute("customerOID",newLong(customerOID));
第7题
A.AnIllegalStateExceptionisthrownatruntime.
B.AnInvalidSessionExceptionisthrownatruntime.
C.Thestring"value=null"appearsintheresponsestream.
D.Thestring"value=myAttributeValue"appearsintheresponsestream.
第8题
A.pageContext.setAttribute("name",theValue)
B.pageContext.setAttribute("name",getSession())
C.pageContext.getRequest().setAttribute("name",theValue)
D.pageContext.getSession().setAttribute("name",theValue)
E.pageContext.setAttribute("name",theValue,PageContext.PAGE_SCOPE)
F.pageContext.setAttribute("name",theValue,PageContext.SESSION_SCOPE)
第9题
A.AnexceptionisthrownatruntimebySourceServlet.
B.AnexceptionisthrownatruntimebyDestinationServlet.
C.Only"hellofromdest"appearsintheresponseoutputstream.
D.Both"hellofromsource"and"hellofromdest"appearintheresponseoutputstream.
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!