Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/action/ShowStatisticAction.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 logger.info("show statistic"); | 53 logger.info("show statistic"); |
50 SessionModel sm = SessionModelFactory.getInstance().getSessionModel( | 54 SessionModel sm = SessionModelFactory.getInstance().getSessionModel( |
51 request); | 55 request); |
52 | 56 |
53 ArtifactDatabaseClient adc = ArtifactDatabaseClientFactory.getInstance() | 57 ArtifactDatabaseClient adc = ArtifactDatabaseClientFactory.getInstance() |