no
cookie entry there.
and i tried the flush and close. that didnt work either. i checked for null
being returned. it enters the else clause where i had it display that
cookies have not been retrieved.
if(cookies != null) {
int length = cookies.length;
out.println(
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Huragan,
Huragan wrote:
| I am new to j2ee and have been trying to understand how cookies work.
Cookies are independent of the J2EE specification: they are part of the
HTTP specification. The servlet specification (part of J2EE) says that
cookies ar
out.println("And here are all the cookies");
/*Cookie[] cookies = request.getCookies();
int length = cookies.length;
out.println(length);
for(int i=0;i");
out.println("Cookie Value: &qu