[Opensource] SimpleLoginControler

Michael Rimov rimovm at centercomp.com
Thu Sep 11 22:33:27 PDT 2003


At 05:51 PM 9/11/2003 +0200, you wrote:
>OK but the error messages stay after displaying. How to clear them

Part of that has been fixed in Expresso 5.3 RC-3, the problem being that 
ActionErrors were being stored on the Session but not getting cleared.

You can manually clear ActionErrors out of the session yourself.  It's been 
a while since I've head my head in 5.0.X code, so I don't remember if the 
code is defined in Struts or Controller... but you can find out by taking a 
look at ControllerResponse.saveErrors(ErrorCollection), and you'll find the 
session key where they're stored that way.

HTH!
                                                         -Mike





More information about the Opensource mailing list