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"]}
正确答案:A,C,E
答案解析:有

微信扫一扫手机做题