• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!