2015-11-20 23:01 GMT+01:00 Christopher Schultz <ch...@christopherschultz.net>:
> Is it possible to get the ServletContext from an Interceptor's init()
> method? I'd like to use it for some one-time initialization rather than
> grabbing it during the interceptor's intercept() method and either
> attempt one-time initialization or repeated-initialization.

Use ServletActionContext.getServletContext()


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