File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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?
It's not a secret anymore!