2013/6/11 JOSE L MARTINEZ-AVIAL <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]