itgle.com

ClicktheExhibitbutton.Given:11.<%com.example.Advisoradvisor=newcom.example.Advisor();%>12.<%request.setAttribute("foo",advisor);%>Assumingtherearenoother"foo"attributesinthewebapplication,whichthreearevalidELexpressionsforretrievingtheadvicepropertyofadvi

题目

ClicktheExhibitbutton.Given:11.<%com.example.Advisoradvisor=newcom.example.Advisor();%>12.<%request.setAttribute("foo",advisor);%>Assumingtherearenoother"foo"attributesinthewebapplication,whichthreearevalidELexpressionsforretrievingtheadvicepropertyofadvisor?()

A.${foo.advice}

B.${request.foo.advice}

C.${requestScope.foo.advice}

D.${requestScope[foo[advice]]}

E.${requestScope["foo"]["advice"]}


相似考题
更多“ClicktheExhibitbutton.Given:11.&lt;%com.example.Advisoradvisor=newcom.example.Advisor();%& ”相关问题
  • 第1题:

    Click the Exhibit button. Given:Which two statements are true if a NullPointerException is thrown on line 3 of class C? ()

    A.The application will crash.

    B.The code on line 29 will be executed.

    C.The code on line 5 of class A will execute.

    D.The code on line 5 of class B will execute.

    E.The exception will be propagated back to line 27.


    参考答案:B, E