[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

JSPs and Bean destroy methods and more . . .


A few odd questions . . . (mostly because I'm too lazy to search the code)

Assuming a JSP is using a bean. When the servlet timeout is reached, do the JSP classes call the bean's destroy method?

Or, if I call a session invalidate, is the bean's destroy method called?

And lastly, if a bean is recompiled, and then called again from the same session, does the first instantiation of the bean stay
around? It seems to, as there seem to be threads running that are left. These threads, I also assume, will disappear when the
servlet timeout is reached.

Any thoughts? I'm using JServ 1.0, Apache, GNUJSP CVS from 11/15 . . .

paul

BTW, the new GNUJSP is great. I use the errorpage and exceptions in the beans which makes the bean code cleaner and easier to
maintain. Most excellent work by all.