<%
session.removeAttribute("ptsUpdDesign");
%>
----
I would recommend using the handy session tag library freely available from
jakarta-taglibs to easily manipulate your session and avoid scriptlets:
http://jakarta.apache.org/taglibs/doc/session-doc/
this tag does the same thing as the scriptlet while avoiding embedding code
in your jsp page:
<sess:removeattribute name="ptsUpdDesign"/>
Justy
----- Original Message -----
> I am using following tags in my JSP file.
>
> <jsp:useBean id="ptsUpdDesign" class="ebus.pts.beans.ptsUpdDesign"
> scope="session" />
> <jsp:setProperty name="ptsUpdDesign" property="*" />
>
> So how can I release memory occupied by bean id "ptsUpdDesign" ?
>
> Regards,
> Santosh
>
> -----Original Message-----
> From: horwat [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 12, 2001 3:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Session timeout
>
>
> You can control session timeout either in the application's deployment
> descriptor or call session.setMaxInactiveInterval().
>
> You can call session.removeAttribute() to explicitly free up the bean
object
> stored in the session. You can also use session.invalidate() to invalidate
> the session and free up all objects used.
>
> Justy
>
> ----- Original Message -----
>
> > Hi ,
> >
> > Is it possible to explicitely release the memory held by a bean and also
> to
> > handle Session timeout ?
> >
> > I have JSP running on Jrun 2.3.3.
> >
> > Thanks and Regards,
> > Santosh
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets