• Post Reply Bookmark Topic Watch Topic
  • New Topic

pageContext implicit object

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
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!