Hi, Could someone tell me what the difference between HttpServletResponse.endcodeURL and HttpServletResponse.endcodeRedirectURL ?
posted 14 years ago
encodeRedirectURL is normally used along with sendRedirect method. That is u are passing ur session to the new request encodeURL can be used in forward,include where u have to pass the session info. Basically both do the same. that is append the JSESSIONID in the url when cookies are disabled