Ian Graham wrote:

> Hi people,
>
> thanks for that advice. I have tried it but it seems that these methods are
> getting called everytime the bean is used by a different page.
>
> I.e. I have the usebean tag at the top of each page getting hold of the
> sessioned beans, and it is being put into session and then got out. These
> methods are not just getting called  when the bean is first getting put into
> the session and when it is getting killed???
>

Which servlet engine are you using?  The behavior you expect (valueBound() called
when the bean is first added, and valueUnbound() called when the bean is removed
explicitly or the session is invalidated) is what the servlet spec calls for.

>
> Ian
>

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to