Register / Login
Win a copy of
The Little Book of Impediments (e-book only)
this week in the
Agile and Other Processes
Web Component Certification (OCEJWCD)
q on cookies
posted 11 years ago
Identify the statements which r true abt EL implicit variable "cookie". Select 2 answers. 1) cookie variable retrieves the value according to semantics of HttpServletRequest.getKookie(). 2) cookies are retrieved in the same order in which they r added. 3) The implicit variable "cookieValues" should be used along with "cookie" to retrieve the values. 4) If same name is used by multiple cookies, the impl will return the first one tht is encountered in an array of cookie objects returned by getKookie(). I feel the correct answer is 2 & 4. Is this right? can one have multiple cookies in the first place.
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
How to attach/Detach cookies?
yet another postfix/prefix precedence question
question about cookie
implicit objects question
Cookies associated to a Session