Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/StoreAction.java @ 991:33198e55371c
Improved session handling in the gui. If a session has timed out, the user gets to the start point - the fis selection.
gnv/trunk@1192 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 10 Jun 2010 15:13:08 +0000 |
parents | 0441e78cd900 |
children | 28a0628b11b0 |
comparison
equal
deleted
inserted
replaced
990:56b22bc68dfa | 991:33198e55371c |
---|---|
44 ActionForm form, | 44 ActionForm form, |
45 HttpServletRequest request, | 45 HttpServletRequest request, |
46 HttpServletResponse response) | 46 HttpServletResponse response) |
47 throws Exception | 47 throws Exception |
48 { | 48 { |
49 if (isSessionExhausted(request)) { | |
50 return sessionExhaustedForward(mapping, form, request, response); | |
51 } | |
52 | |
49 SessionModelFactory sf = SessionModelFactory.getInstance(); | 53 SessionModelFactory sf = SessionModelFactory.getInstance(); |
50 SessionModel sm = sf.getSessionModel(request); | 54 SessionModel sm = sf.getSessionModel(request); |
51 | 55 |
52 ArtifactDatabaseClientFactory adcf = | 56 ArtifactDatabaseClientFactory adcf = |
53 ArtifactDatabaseClientFactory.getInstance(); | 57 ArtifactDatabaseClientFactory.getInstance(); |