• Post Reply Bookmark Topic Watch Topic
  • New Topic

diff between session.getValue() and session.getAttribute()

 
Sweety S.
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i write one form i recall same jsp on submitt so i have to put and get values from seession so shall i prepare session.setAttribute,and session.getAttribute insted of session.putValue ang session.getValue.
pl reply
thnaks
 
Praful Thakare
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sweety,
getValue and puValue are Deprecated As of Version 2.2,so use setAttribute and getAttribute.
cheers
Praful
[ March 01, 2004: Message edited by: Praful Thakare ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Sweety S",
You have been asked at least once before (in this topic, for example) to change your display name to conform to JavaRanch standards. This is not a suggestion, nor is it optional. Invalid accounts will be closed. Please change your display name as directed prior to your next post.
thanks,
bear
JSP Forum Bartender
[ March 01, 2004: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!