comparison gnv/src/main/java/de/intevation/gnv/action/WMSAction.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 cfc7bd35ee0b
children 541ff0db1b12
comparison
equal deleted inserted replaced
990:56b22bc68dfa 991:33198e55371c
79 79
80 @Override 80 @Override
81 public ActionForward execute(ActionMapping mapping, ActionForm form, 81 public ActionForward execute(ActionMapping mapping, ActionForm form,
82 HttpServletRequest request, 82 HttpServletRequest request,
83 HttpServletResponse response) throws Exception { 83 HttpServletResponse response) throws Exception {
84 if (isSessionExhausted(request)) {
85 return sessionExhaustedForward(mapping, form, request, response);
86 }
87
84 logger.debug("WMSAction.execute"); 88 logger.debug("WMSAction.execute");
85 try { 89 try {
86 SessionModel sm = SessionModelFactory.getInstance().getSessionModel( 90 SessionModel sm = SessionModelFactory.getInstance().getSessionModel(
87 request); 91 request);
88 92

http://dive4elements.wald.intevation.org