题目内容

Given: 3.public class MyTagHandler extends TagSupport { 4.public int doStartTag() { 5.// insert code here 6.// return an int 7.} 8.// more code here ... 18.} There is a single attribute foo in the session scope. Which three code fragments,inserted independently atline 5,return the value of the attribute?()

A. Object o = pageContext.getAttribute("foo");
B. Object o = pageContext.findAttribute("foo");
C. Object o = pageContext.getAttribute("foo",PageContext.SESSION_SCOPE);
D. HttpSession s = pageContext.getSession();Object o = s.getAttribute("foo");

查看答案
更多问题

注重仪表风范,保持警容严整,讲究礼节礼貌。坚持文明执勤,文明服务,不端架子,不耍威风,不搞特权是文明守纪的体现。

A. 正确
B. 错误

政治中立

钢的含碳量在()以下。

A. 0.25%
B. 0.6%
C. 2.0%
D. 4.5%

如何打开文书流转信息查询窗口?

答案查题题库