Disable jsessionid on url

Put this on web.xml

    <session-config>
        <tracking-mode>COOKIE</tracking-mode>
        <session-timeout>
            30
        </session-timeout>
    </session-config>

And no more jsessionid on url!
This works with tomcat, tomee and Jboss.

Advertisements