Hello:
HttpServletResponse.encodeURL() has to know if cookies are enabled
or not. Is there an API call to check that?
I looked thru the APIs and found nothing. Searching the web and
mailing list was also fruitless.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056,
Cookie[] cookies = request.getCookies();
will do the trick for you:).
Note: Tomcat checks for cookie on its first response. That's why when you
restart tomcat for the first time, you can see the jsessionid *mysteriously*
appears in the URL.
-Original Message-
From: Neil Aggarwal