You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/08/27 15:57:42 UTC
[2/2] git commit: Add a commented configuration setting that makes
Jetty encoding the jsessionid always in the url.
Add a commented configuration setting that makes Jetty encoding the jsessionid always in the url.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/17b1252e
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/17b1252e
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/17b1252e
Branch: refs/heads/master
Commit: 17b1252ebe16ea6b4a51b20b9021428d8784693b
Parents: 16e7950
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Aug 27 15:45:05 2012 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Aug 27 15:45:05 2012 +0200
----------------------------------------------------------------------
.../org/apache/wicket/examples/StartExamples.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/17b1252e/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
----------------------------------------------------------------------
diff --git a/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java b/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
index 14bc444..c2b8eab 100644
--- a/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
+++ b/wicket-examples/src/test/java/org/apache/wicket/examples/StartExamples.java
@@ -59,6 +59,9 @@ public class StartExamples
bb.setContextPath("/");
bb.setWar("src/main/webapp");
+ // uncomment next line if you want to test with JSESSIONID encoded in the urls
+// ((AbstractSessionManager) bb.getSessionHandler().getSessionManager()).setUsingCookies(false);
+
server.setHandler(bb);
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();