You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Musachy Barroso <mu...@gmail.com> on 2009/05/28 16:25:26 UTC

Re: Obtaining the value of struts.action.extension in a struts2 nterceptor

add this to your interceptor

@Inject(StrutsConstants.STRUTS_ACTION_EXTENSION)
public void setExtension(Strtin ext) {}

musachy
-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Re: Obtaining the value of struts.action.extension in a struts2 nterceptor

Posted by Yellek <ye...@gmail.com>.
Thanks! This works like a charm.


Musachy Barroso wrote:
> 
> add this to your interceptor
> 
> @Inject(StrutsConstants.STRUTS_ACTION_EXTENSION)
> public void setExtension(Strtin ext) {}
> 
> musachy
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Obtaining-the-value-of-struts.action.extension-in-a-struts2-interceptor-tp23762699p23763082.html
Sent from the Struts - User mailing list archive at Nabble.com.


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