A.eavesdropping
B.damaging a Social Security number
C.threatening in a flash flood
D.making a person information disappear in the date base
第1题
第2题
B.${requestScope[’priority’]=’medium’}
C.<c:setvar="priority"value="medium"/>
D.<c:setvar="priority"scope="request">medium</c:set>
E.<c:setvar="priority"value="medium"scope="request"/>
第3题
A.<ahref=’<c:urlurl="foo.jsp"/>’/>
B.<ahref=’<c:linkurl="foo.jsp"/>’/>
C.<ahref=’<c:urlvalue="foo.jsp"/>’/>
D.<ahref=’<c:linkvalue="foo.jsp"/>’/>
第4题
A.
B.
C.
D.
第5题
A.Compilationsucceedsandlisprinted.
B.Compilationsucceedsand2printed.
C.Anerroratline8causecompilationtofail.
D.Anerroratline14causecomplicationtofail.
E.Complicationsucceedsbutanexceptionisthrownatline14.
第6题
A.Accesstosession-scopedattributesisguaranteedtobethread-safebythewebcontainer.
B.ToactivateURLrewriting,thedevelopermustusetheHttpServletResponse.setURLRewritingmethod.
C.IfthewebapplicationusesHTTPS,thenthewebcontainermayusethedataontheHTTPSrequest streamtoidentifytheclient.
D.TheJSESSIONIDcookieisstoredpermanentlyontheclientsothatausermayreturntotheweb applicationandthewebcontainerwillrejointhatsession.
第7题
A.Compilationsucceedsand4isprinted.
B.Compilation……………isprinted.
C.Anerroronline9causecompilationtofail.
D.Anerroronline14causecompilationtofail.
E.Compilationsucceedsbutanexceptionisthrownatline9.
第8题
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:}
第9题
A.CreateanHttpSessionAttributeListenerclassandimplementtheattributeDeletedmethodandlogthe attributenameusingthegetNamemethodontheeventobject.
B.CreateanHttpSessionAttributeListenerclassandimplementtheattributeRemovedmethodandlogthe attributenameusingthegetNamemethodontheeventobject.
C.CreateanSessionAttributeListenerclassandimplementtheattributeRemovedmethodandlogthe attributenameusingthegetAttributeNamemethodontheeventobject.
D.CreateanSessionAttributeListenerclassandimplementtheattributeDeletedmethodandlogthe attributenameusingthegetAttributeNamemethodontheeventobject.
第10题
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));
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!