单选题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 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]}


相似考题