title: remove msg from ActionMessage
body: <p>How do I remove a particular error message from ActionMessage. For example, below <code>msgKey</code> is <code>"ABC"</code> and <code>msg.getKey()</code> is <code>"ABC"</code>. Now when both are same I want to remove the key from the ActionMessage. How do i do it?</p>
  
  <pre><code>Iterator it = warningMessages.get(ActionMessages.GLOBAL_MESSAGE);       
  while (it.hasNext()) {
      ActionMessage msg = (ActionMessage) it.next();
      if (msgKey.equalsIgnoreCase(msg.getKey())) {
                  // remove msgKey from warningMessages
      }
  }
  </code></pre>