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

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
I agree. Here's the link:
subject: HttpSession.getValue(String)
It's not a secret anymore!