File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pageContext implicit object

 
shanthisri mocherla
Ranch Hand
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
Shanthi
 
Vishnu Prakash
Ranch Hand
Posts: 1026
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic