orm logic .. String message =
"Operation successfully completed"; getContext().setFlashAttribute(
"message", message); setRedirect(HomePage.
class);
return false; } To test for the existence of a flash attribute and then render it, you should set it as a variable in your template, because once it has been accessed from the session it is removed. Using Velocity as an example:
#set ($message = $session.message) #if ($message) <p>$message</p> #end
@see org.apache.click.Context
@see SessionMap