You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by sd...@apache.org on 2017/04/23 13:34:43 UTC

[2/2] struts-examples git commit: removed sessionid from urls

removed sessionid from urls


Project: http://git-wip-us.apache.org/repos/asf/struts-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts-examples/commit/6711d438
Tree: http://git-wip-us.apache.org/repos/asf/struts-examples/tree/6711d438
Diff: http://git-wip-us.apache.org/repos/asf/struts-examples/diff/6711d438

Branch: refs/heads/master
Commit: 6711d43812179b4479e02f22ef7a91f67e042e8d
Parents: 784b339
Author: Stefaan Dutry <st...@gmail.com>
Authored: Sun Apr 23 15:32:39 2017 +0200
Committer: Stefaan Dutry <st...@gmail.com>
Committed: Sun Apr 23 15:32:39 2017 +0200

----------------------------------------------------------------------
 using-tags/src/main/webapp/WEB-INF/web.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts-examples/blob/6711d438/using-tags/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/using-tags/src/main/webapp/WEB-INF/web.xml b/using-tags/src/main/webapp/WEB-INF/web.xml
index 57c9b48..a7752df 100644
--- a/using-tags/src/main/webapp/WEB-INF/web.xml
+++ b/using-tags/src/main/webapp/WEB-INF/web.xml
@@ -15,5 +15,9 @@
         <filter-name>struts2</filter-name>
         <url-pattern>/*</url-pattern>
     </filter-mapping>
+
+    <session-config>
+        <tracking-mode>COOKIE</tracking-mode>
+    </session-config>
     
 </web-app>