• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pageContext

 
Akhil Maharaj
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All ,

(Dog)request.getAttribute("myDog"); is same as
${requestScope.myDog}

and also (Cat)session.getAttribute("myCat"); is same as
${sessionScope.myCat}

Please comment on whether my statements above are currect .

Here is my question

${pageScope.myPerson}
is it same as
(Person)pageContext.getAttribute("myPerson")

Thanks
Akhil
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please comment on whether my statements above are currect .

Correct.

is it same as

Yes it is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic