Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSession.getValue(String)  RSS feed

 
K Nally
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 37242
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!