title: How do I retrieve the jsessionid from URL in JSP?
body: <p>I know how to pass the jsessionid to the URL.  I encode the url, which will look like this: </p>
  
  <blockquote>
    <p>mysite.com;jsessionid=0123456789ABCDEF (http)</p>
  </blockquote>
  
  <p>Does there exist a built-in method to retrieve the jsessionid from the URL, using Java?  I found this method in the <a href="http://docs.oracle.com/javaee/1.2.1/api/javax/servlet/http/HttpServletRequest.html#isRequestedSessionIdFromURL%28%29" rel="noreferrer">javadocs</a>, isRequestedSessionIdFromURL, but it doesn't help me actually retrieve the value.  Do I have to build my own retrieval method?</p>
  
  <p>Thank you.</p>