Init and destroy are only called when the interceptor is initialised when the servlet engine starts, and destroyed when the servlet engine is stopped.
You should do all your jdbc connection work in the intercept method. -----Original Message----- From: Luiz Henrique Rossetti [mailto:[EMAIL PROTECTED] Sent: 04 June 2007 18:37 To: user@struts.apache.org Subject: Interceptor - method init and destroy When trying to execute the method "init" and "destroy", it´s doesn´t execute. Somebody has some example of the Interceptor class that implements "open" and "close" jdbc connections? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]