Created
February 10, 2017 19:24
-
-
Save herdianf/06c1586fb91c1dfb355f8c84a6e19be7 to your computer and use it in GitHub Desktop.
disable jetty-maven-plugin jsessionid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.mortbay.jetty</groupId> | |
<artifactId>jetty-maven-plugin</artifactId> | |
<version>${version.jetty}</version> | |
<configuration> | |
<webAppConfig> | |
<contextPath>/foo</contextPath> | |
<sessionHandler implementation="org.eclipse.jetty.server.session.SessionHandler"> | |
<sessionManager implementation="org.eclipse.jetty.server.session.HashSessionManager"> | |
<!-- Disable url sessions using JSessionID --> | |
<sessionIdPathParameterName>none</sessionIdPathParameterName> | |
</sessionManager> | |
</sessionHandler> | |
</webAppConfig> | |
</configuration> | |
</plugin> | |
<plugins> | |
</build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment