多做题,通过考试没问题!

Java认证考试

题库首页>其他计算机考试>Java认证考试

Click the Exhibit button. Given: 11.<% com.example.Advisor advisor = new com.example.Advisor(); %> 12.<% request.setAttribute("foo", advisor); %> Assuming there are no other "foo" attributes in the web application,which three are valid EL expressions forretrieving the advice property of advisor?()

  • A、${foo.advice}
  • B、${request.foo.advice}
  • C、${requestScope.foo.advice}
  • D、${requestScope[foo[advice]]}
  • E、${requestScope["foo"]["advice"]}
查看答案

微信扫一扫手机做题