How to access struts interceptor parameters in Java?
Posted
by Ricardo
on Stack Overflow
See other posts from Stack Overflow
or by Ricardo
Published on 2010-06-12T02:10:30Z
Indexed on
2010/06/12
2:32 UTC
Read the original article
Hit count: 310
I have the following code in struts.xml:
<interceptor-ref name="checkTabsStack">
<param name="tabName">availability</param>
</interceptor-ref>
and I want to access the parameter tabName in the interceptor routine, how do i do that? i tried
Map params = ActionContext.getContext().getParameters();
but params comes empty...
Thanks!
© Stack Overflow or respective owner