aspose file tools*
The moose likes JSP and the fly likes Session.putValue   VS   Session.setAttribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Session.putValue   VS   Session.setAttribute" Watch "Session.putValue   VS   Session.setAttribute" New topic
Author

Session.putValue VS Session.setAttribute

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
Out of these 2
Session.putValue & Session.setAttribute
Which one is better and why?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Did you check the javadocs?
putValue()
Deprecated. As of Version 2.2, this method is replaced by setAttribute
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Session.putValue VS Session.setAttribute