Search code examples
jsfjettysession-cookiesjsessionid

remove jsessionid in url


I am facing a problem in jsf web application deployed in jetty web-server. When access application in browser, jsessionID is appended in the url. I want to remove it from there. Thanks in advance.


Solution

  • Set the org.mortbay.jetty.servlet.SessionURL parameter to none in either the application web.xml or the context configuration.

    See the Jetty jsessionId documentation.