2013/6/11 JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>:
> Actually, what I want is to get the result name returned by the action, not
> the action name. Is there a simple way I can access the result from the JSP?

Hm... I think the same, but the interceptor must be the last one in
chain - as other interceptors can change the result.

Object action = ai.getAction();
if (action instanceof ResultNameAware){
    ((ResultNameAware)action).setResultName(ai.getResultCode());
}


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to