struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Obtain the ServletContext in Interceptor init method
Date Fri, 20 Nov 2015 22:01:32 GMT
All,

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.

Thanks,
-chris

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


Mime
View raw message