This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSession.getValue(String) " Watch "HttpSession.getValue(String) " New topic
Author

HttpSession.getValue(String)

K Nally
Greenhorn

Joined: Sep 30, 2003
Posts: 13
Hello:

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?

Thanks.

Karen
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Karen,
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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpSession.getValue(String)