You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Halil Ağın <ha...@gmail.com> on 2009/02/08 20:15:32 UTC

how to reach constants declared in struts.xml from a custom interceptor

Hello List;

I want to reach  constants declared  in struts.xml from  my custom
interceptor. How can i do this?


regards,

-halil agin.

Re: how to reach constants declared in struts.xml from a custom interceptor

Posted by Dave Newton <ne...@yahoo.com>.
Halil Ag(?n wrote:
> I want to reach  constants declared  in struts.xml from  my custom
> interceptor. How can i do this?

Should be able to use the @Inject annotation as the existing S2 
interceptors do for getting the devMode constant.

Dave

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