As of Servlet 2.2 the session.putValue method has been deprecated with the
session.setAttribute method. No difference, just an older method. You should
avoid using the deprecated method.

Justy

----- Original Message -----
From: "Miao, Franco CAWS:EX" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 11, 2001 11:31 PM
Subject: session.putValue( ) vs session.setAttribute?


> what is the differenc between session.putValue( ) vs session.setAttribute?
>
> Looks like they are doing the same thing
>
>
> session.putValue sample:
>
> http://www.macromedia.com/support/ultradev/ts/documents/session.htm
>
> session.setAttribute :
>
>
http://www.macromedia.com/support/ultradev/content/displaying_session_vars/d
> isplaying_session_vars03.html
>
>
> Franco
>
>
===========================================================================
> 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
>

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