Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
How to attach/Detach cookies?
yet another postfix/prefix precedence question
question about cookie
implicit objects question
Cookies associated to a Session