struts2 的各种intercepter 介绍
一,<interceptor name="chain" type="chain">otherAction</result> </action> <action name="otherAction" class="java"> /** * Hook that set the <code>cookiesMap</code> into action that implements * {@link CookiesAware}. * * @param action * @param cookiesMap */ protected void injectIntoCookiesAwareAction(Object action, Map<String, String> cookiesMap) { if (action instanceof CookiesAware) { if (LOG.isDebugEnabled()) LOG.debug("action ["+action+"] implements CookiesAware, injecting cookies map ["+cookiesMap+"]"); ((CookiesAware)action).setCookiesMap(cookiesMap); } }?