Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Web Component Certification (OCEJWCD)
doubt in request,response headers and flow
posted 11 years ago
i have some doubts in request, response headers and flow ?
1. why is it that we do not see cookies with maxage set as -1 in cookies folder but the server is able to use them. The same doubt with JSESSIONID cookie.
2. What will happen if i set cookies in
and then do a sendRedirect to another jsp. Will the second jsp recieve the cookie? A forward wil not support it ... what do u say?
3. Is it possible to setheader in a jsp/servlet and then retrive them before commiting the response?
4. when i am using the getDomain() on cookie for the cookies i have set on my localhost server, i get a null? why?
5. is getDomain() useful for subdomains... or what is its main use?
[ March 27, 2006: Message edited by: vipul jhawar ]
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
Boost this thread!
Doubt about header
url rewriting doubt
Doubt regarding the cookies.
RequestDispatcher doubt :(