This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session.putValue VS Session.setAttribute
 
Similar Threads
JSP sessions under Websphere
Difference b/w "session.putValue" and session.setAttribute"?
Session Variable problem in EJB
Urrgent Pls Advice as soon as possible
Session Tracking with cookies disabled.