black

SCWCD(310-083)

登录

单项选择题

Given a web application in which the cookie userName is expected to contain the name of the user.
Which EL expression evaluates to that user name?()

A.${userName}
B.${cookie.userName}
C.${cookie.user.name}
D.${cookies.userName[0]}

相关考题

多项选择题 Given: http://com.example/myServlet.jsp?num=one&num=two&num=three. Which two produce the output"one, two and three"?()

多项选择题 Given: 11.<% java.util.Map map = new java.util.HashMap(); 12.request.setAttribute("map", map); 13.map.put("a", "true"); 14.map.put("b", "false"); 15.map.put("c", "42"); %> Which three EL expressions are valid and evaluate to true?()

多项选择题 Given: 11.<% 12.request.setAttribute("vals", new String[]{"1","2","3","4"}); 13.request.setAttribute("index", "2"); 14.%> 15.<%-- insert code here --%> Which three EL expressions, inserted at line 15,are valid and evaluate to "3"?()

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064