Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

pageContext implicit object  RSS feed

shanthisri mocherla
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a correct statement to retrieve an int value from an intheader ${pageContext.request.intHeader["Max-Forwards"]};
What my question is if we have string or any other parameters passed to a method like getIntHeader("Max-Forwards").how do we write it using EL statements.
i know we can use dot or [] operator to do this job.
I know this statement ${pageContext.request.method} is equivalent to <%= request.getMethod()%> in scripting.But here method getMethod()
does not have any parameters passed to it.

Thanks in advance
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!