2015-11-20 23:01 GMT+01:00 Christopher Schultz <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to