summaryrefslogtreecommitdiff
path: root/BKUOnline
diff options
context:
space:
mode:
authorwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-11-28 12:07:40 +0000
committerwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-11-28 12:07:40 +0000
commit05fdd03fdc275a3b728b6b6b5892c9fae5e401ee (patch)
tree6806c0ade95c23408e3eeea94b8a8b850205278e /BKUOnline
parentf928669b7f791f9077fb04cc9a90d1e01ac31344 (diff)
downloadmocca-05fdd03fdc275a3b728b6b6b5892c9fae5e401ee.tar.gz
mocca-05fdd03fdc275a3b728b6b6b5892c9fae5e401ee.tar.bz2
mocca-05fdd03fdc275a3b728b6b6b5892c9fae5e401ee.zip
Changed session handling strategy when reconnecting (eg. reload pressed)
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@224 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/BKURequestHandler.java8
-rw-r--r--BKUOnline/src/main/webapp/applet/BKUApplet-1.0.2-SNAPSHOT.jarbin0 -> 182156 bytes
2 files changed, 5 insertions, 3 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/BKURequestHandler.java b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/BKURequestHandler.java
index f31559cd..3aa6bc19 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/BKURequestHandler.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/bku/online/webapp/BKURequestHandler.java
@@ -75,9 +75,11 @@ public class BKURequestHandler extends SpringBKUServlet {
HttpSession session = req.getSession(false);
if (session != null) {
log.warn("Already a session with id: " + session.getId()
- + " active, deleting this one");
- getBindingProcessorManager().removeBindingProcessor(
- IdFactory.getInstance().createId(session.getId()));
+ + " active, continuing");
+ RequestDispatcher dispatcher = getServletContext().getNamedDispatcher(BKU_APPLET_JSP);
+ log.debug("forward to applet");
+ dispatcher.forward(req, resp);
+ return;
}
session = req.getSession(true);
if (log.isDebugEnabled()) {
diff --git a/BKUOnline/src/main/webapp/applet/BKUApplet-1.0.2-SNAPSHOT.jar b/BKUOnline/src/main/webapp/applet/BKUApplet-1.0.2-SNAPSHOT.jar
new file mode 100644
index 00000000..669a1f92
--- /dev/null
+++ b/BKUOnline/src/main/webapp/applet/BKUApplet-1.0.2-SNAPSHOT.jar
Binary files differ