This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

pageContext  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!