abhi patil
Dec 1st, 2011, 12:39 AM
Hi Guys,
I am creating a custom object on every request I get. Now i want to destroy that object when spring is about to send an response. Can we do it in spring ? I am using spring 3.
Please note that this will happen for every request so i dont want to add destroy-method property to my controllers since it has to be written for every servlet and this is not feasible.
Also If it is possible for what i am asking then please tell me in case of request chaining will that work ?
Thanks and Regards
Patil Abhijeet
I am creating a custom object on every request I get. Now i want to destroy that object when spring is about to send an response. Can we do it in spring ? I am using spring 3.
Please note that this will happen for every request so i dont want to add destroy-method property to my controllers since it has to be written for every servlet and this is not feasible.
Also If it is possible for what i am asking then please tell me in case of request chaining will that work ?
Thanks and Regards
Patil Abhijeet