If you never use Session Scope or any Session variables, you can set
session="false" and save a little memory and a very small amount of
processing time.  Each time the JSP is entered it calls session =
request.getSession(); to populate the intrinsic session variable.  On the
first call this creates a HashMap  to store all the session variables,
calculates a unique Session ID, and adds a Cookie to the Response.  On each
subsequent call it simply looks up the Cookie from the Request and uses the
Session ID it contains to retrieve the Session Object from the HashMap.
    (*Chris*)

----- Original Message -----
From: "Saravanan Thangaraju" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 11:52 PM
Subject: [JSP-INTEREST] Use of Session Attribute


> What impact will setting attribute session = false in the page directive
of
> a jsp..
>
> Is it recommended.?
>
> Saravanan . T.
> Consultant
> Kanbay Software ,India.
> 020-7691100 (ext - 511)
>
>
> -----Original Message-----
> From: Dmitry Namiot [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Formating Text In JSP
>
> Check out Excape taglib from Coldjava's suite
> for example: http://www.servletsuite.com/jsp.htm
>
>
> --
> Coldjava - server-side Java components
> http://www.servletsuite.com
>
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
> Experience the convenience of buying online with Shop@Netscape!
> http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
> http://webmail.netscape.com/
>
>
===========================================================================
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com
>
>
> This message and any attachment(s) is intended only for the use of the
> addressee(s) and may contain information that is PRIVILEGED and
> CONFIDENTIAL. If you are not the intended addressee(s), you are hereby
> notified that any use, distribution, disclosure or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please erase all copies of the message and its
> attachment(s) and notify the sender or Kanbay postmaster immediately.
> Any views expressed in this message are those of the individual sender.
> Although we have taken steps to ensure that this e-mail and any
> attachment(s) are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure they are actually virus
free.
>
>
===========================================================================
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to