• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFS ERROR SESSION

 
mayank jamindar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the getSession() method on request returns HTTPSession not object but in one of objects it says otherwise.
pg 274 Question 7
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which option are you talking about?

I assume you are thinking about option-1.

getAttribute(string) method always returns Object. It doesn't matter whether you call this method on session(or)request(or)application(Context) scope.
[ December 26, 2005: Message edited by: Vishnu Prakash ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic