aspose file tools*
The moose likes Beginning Java and the fly likes getAttribute replacing getValue? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "getAttribute replacing getValue?" Watch "getAttribute replacing getValue?" New topic

getAttribute replacing getValue?

Melinda Wilson
Ranch Hand

Joined: Jul 05, 2001
Posts: 35
I am currently using getValue method and was err as a deprecated method. Is getAttribute the replacement for this method?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
In what class?

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1506
If you are referring to the HTTpSession class. Yes, getAttribute() replaces getValue() and setAttribute() replaces putValue().

So much trouble in the world -- Bob Marley
Melinda Wilson
Ranch Hand

Joined: Jul 05, 2001
Posts: 35
Thank you very much.
I agree. Here's the link:
subject: getAttribute replacing getValue?
Similar Threads
Some help with a sample SCWCD question based on Listeners.
Session Variable problem in EJB
Difference between HttpSession.getAttribute() and HttpSession.getValue()
HttpSession get and setAttribute problem
Can You Find the Error in this SCJP6 Study Guide Mock Exam Question?