In the teaching of self-discipline the Japanese emphasize______.
A.duty to one's family and relations
B.early toilet training combined with restrictive movement
C.heavy external control including both verbal and physical punishment
D.a permissive atmosphere almost until puberty
第1题
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));
第2题
A.AnIllegalStateExceptionisthrownatruntime.
B.AnInvalidSessionExceptionisthrownatruntime.
C.Thestring"value=null"appearsintheresponsestream.
D.Thestring"value=myAttributeValue"appearsintheresponsestream.
第3题
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)
第4题
A.AnexceptionisthrownatruntimebySourceServlet.
B.AnexceptionisthrownatruntimebyDestinationServlet.
C.Only"hellofromdest"appearsintheresponseoutputstream.
D.Both"hellofromsource"and"hellofromdest"appearintheresponseoutputstream.
第6题
A.Yourfilterclassmustimplementaninitmethodandadestroymethod.
B.Yourfilterclassmustalsoimplementjavax.servlet.FilterChain.
C.Whenyourfilterchainstothenextfilter,itshouldpassthesameargumentsitreceivedinitsdoFiltermethod.
D.Themethodthatyourfilterinvokesontheobjectitreceivedthatimplementsjavax.servlet.FilterChaincaninvokeeitheranotherfilteroraservlet.
E.YourfilterclassmustimplementadoFiltermethodthattakes,amongotherthings,anHTTPServletRequestobjectandanHTTPServletResponseobject.
第7题
A.IncludealistenerdirectiveinaJSPpage
B.configurealistenerintheTLDfileusingthe
C.Includea
D.configurealistenerintheapplicationdeploymentdescriptor,usingthe
E.IncludeaclassimplementingServletContextListeneraspartofthewebapplicationdeploymen
第8题
A.AnAdapter1aa=newAnAdapter1(){}
B.AnAdapter0aa=newAnAdapter0(){}
C.AnAdapter0aa=newAnAdapter0(5){}
D.AnAdapter1aa=newAnAdapter1(5){}
E.AnInterfaceai=newAnlnterface(5)){}
第9题
A.ItemSimpleTagcanfindtheenclosinginstanceofShoppingListTagbycallinggetParent()andcastingtheresulttoShoppingListTag.
B.ShoppingListTagcanfindthechildinstancesofItemSimpleTagbycallingsuper.getChildren()andcastingeachtoanItemSimpleTag.
C.ItisimpossibleforItemSimpleTagandShoppingListTagtofindeachotherinataghierarchybecauseoneisaSimpletagandtheotherisaClassictag.
D.ShoppingListTagcanfindthechildinstancesofItemSimpleTagbycallinggetChildren()onthePageContextandcastingeachtoanItemSimpleTag.
E.ItemSimpleTagcanfindtheenclosinginstanceofShoppingListTagbycallingfindAncestorWithClass()onthePageContextandcastingtheresulttoShoppingListTag.
第10题
A.Stringx=(String)pageContext.getAttribute("foo")
B.Stringx=(String)pageContext.getRequestScope("foo")
C.ItisNOTpossibletoaccessthepageContextobjectfromwithindoStartTag
D.Stringx=(String)pageContext.getRequest().getAttribute("foo")
E.Stringx=(String)pageContext.getAttribute("foo",PageContext.ANY_SCOPE)
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!