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: 1510
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?