doco suggestion

Connor Barry <[email protected]> Thu, 07 Jan 2010 14:57:15 -0700
Newsgroups gmane.comp.java.springframework.user
Message-ID <[email protected]>
Hi Spring team,

I couldn't find any docs for the preferred handling of expired sessions 
within the annotated controllers - specifically, the equivalent of 
AbstractFormController.handleInvalidSubmit. This worked for me and could 
be added:

@ExceptionHandler(HttpSessionRequiredException.class)
public String handleSessionExpiredException(HttpSessionRequiredException ex,
         HttpServletRequest request) {
     return "redirect:/index.htm?sessionTimeout";
}

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev