wood burning stoves
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes pageContext implicit object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "pageContext implicit object" Watch "pageContext implicit object" New topic

pageContext implicit object

shanthisri mocherla
Ranch Hand

Joined: Sep 05, 2005
Posts: 119
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

Joined: Nov 15, 2004
Posts: 1026
Check this link

Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
I agree. Here's the link: http://aspose.com/file-tools
subject: pageContext implicit object
It's not a secret anymore!