Save This Page
Home » struts-1.3.9-src » org.apache.struts » chain » commands » [javadoc | source]
org.apache.struts.chain.commands
public class: RemoveCachedMessages [javadoc | source]
java.lang.Object
   org.apache.struts.chain.commands.ActionCommandBase
      org.apache.struts.chain.commands.RemoveCachedMessages

All Implemented Interfaces:
    ActionCommand

Remove cached messages stored in the session.

Method from org.apache.struts.chain.commands.RemoveCachedMessages Summary:
execute
Methods from org.apache.struts.chain.commands.ActionCommandBase:
execute,   execute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.chain.commands.RemoveCachedMessages Detail:
 public boolean execute(ActionContext actionCtx) throws Exception 

    Removes any ActionMessages object stored in the session under Globals.MESSAGE_KEY and Globals.ERROR_KEY if the messages' isAccessed method returns true. This allows messages to be stored in the session, displayed one time, and be released here.