当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given:3.publicclassMyTagHandlerextendsTagSupport{4.publicintdoStartTag(){5.//insertcodeher


Given:3.publicclassMyTagHandlerextendsTagSupport{4.publicintdoStartTag(){5.//insertcodehere6.//returnanint7.}8.//morecodehere...18.}Thereisasingleattributefoointhesessionscope.Whichthreecodefragments,insertedindependentlyatline5,returnthevalueoftheattribute?()

A.Objecto=pageContext.getAttribute("foo");

B.Objecto=pageContext.findAttribute("foo");

C.Objecto=pageContext.getAttribute("foo",PageContext.SESSION_SCOPE);

D.HttpSessions=pageContext.getSession();Objecto=s.getAttribute("foo");

参考答案
您可能感兴趣的试题
    暂无相关推荐