• Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSession

 
sujesh Katri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can someone tell me that why my session not type casting into String? I'm placing that code below where problem arised.
in my above code first "hi" is printed successfully but next statement arises type cast exception. Someone please explain me clearly.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The full stack trace should mention which kind of object "name" actually is.
 
sujesh Katri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found my error thank you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!