• Post Reply Bookmark Topic Watch Topic
  • New Topic

putValue() vs setAttribute()  RSS feed

 
Sudarshan Muramreddy
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can any one expain me why sun depricated putValue() and replaced with setattribute().
Does setAttribute() do any thing more than putValue();

Regards,
Sudarshan
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the main reason was a cleanup of the code, synchronising the method names between HttpServletRequest and HttpSession.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!