Hi Martin Thanks for the reply Yes, I need to access a Spring Context object from the Interceptor. So I basically have 2 options, I can inject them in some way in the interceptor which I haven't found a way, or I can access the WebApplicationContext from the init method but I need the ServletContext object. Saludos Cordiales a ti también Néstor
_____ De: Martin Gainty [mailto:[EMAIL PROTECTED] Enviado el: Domingo, 06 de Enero de 2008 11:56 a.m. Para: [EMAIL PROTECTED] Asunto: RE: How to get ServletContext from Interceptor.init Nestor the short answer is not yet as init() method is called before any requests are processed http://struts.apache.org/2.0.11/struts2-core/apidocs/index.html Is there something specific you are seeking? Saludos Cordiales Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: How to get ServletContext from Interceptor.init > Date: Sun, 6 Jan 2008 01:17:41 -0430 > > Hi > > Is there a way to get the ServletContext from Interceptor.init. I tried > using the ActionContext but it returns null. > > Regards, > > Néstor Boscán _____ Share life as it happens with the new Windows Live. Start sharing! <http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 >