wood burning stoves
The moose likes Servlets and the fly likes HttpSession.getValue(String) 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 » Servlets
Bookmark "HttpSession.getValue(String) " Watch "HttpSession.getValue(String) " New topic


K Nally

Joined: Sep 30, 2003
Posts: 13

Does anyone know when javax.servlet.http.HttpSession.getValue(String) (deprecated in version 2.2) will be formally "dropped" i.e. no longer available for use?


Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32819

It is still there as of J2EE 1.4. Historically, Sun deprecates them and leaves them there for a long time (if not forever, to date.) Having said that, you should still change over to the non-deprecated code as you touch it. Especially for something like this where the is a one to one correspondence between the old method and the new method.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: HttpSession.getValue(String)
It's not a secret anymore!