i don't put that code in struts.xml, i put in application-context.xml
my problem is, i need to destroy my bean, but in spring reference that i read,
the prototype bean is cannot use destroy-method="destroy" syntax to destroy it.
can anyone give me some solution. thx chris for your answer
Chris P
I'm definitely no expert, but I think you're mixing new syntax with
old. If I remember correctly singleton="false" was replaced with
scope="prototype". So maybe it was treating your beans as singletons,
which is why they were never getting destroyed.
(*Chris*)
On 7/13/07, alex xander <[EMAIL P
i have some problem with Spring IOC
i use struts 2.x, hibernate 3.x and spring 2.x
my problem is
the destroy-method in my class don't respon anything
it's looks like spring doesn't recognize my destroy method
i already implement org.springframework.beans.factory.DisposableB
3 matches
Mail list logo