Why not use the bean with scope="request" ?

If you can't, remove the bean once you have used it using

<%
    session.removeValue("myBean");
%>

/Ola
-----Original Message-----
From: Jose Luis Diaz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 11:12 AM
To: [EMAIL PROTECTED]
Subject: Beans. How to make a session bean to be a new one.


I have a problem with a session bean. I want the bean to be created in a page 
everytime the user access that page even if the bean already exists in the session. Or 
I want to eliminate a bean once I have used it through the pages that needed it.

Thanks.


Jose Luis Diaz Diaz
[EMAIL PROTECTED]

===========================================================================
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