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)
doubt in request,response headers and flow
posted 10 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 ]
Doubt about header
url rewriting doubt
Doubt regarding the cookies.
RequestDispatcher doubt :(