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]}
E.
${cookies.userName}[1]
F.
${cookies.get(‘userName’)}
Explanation: