This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "pageContext implicit object" Watch "pageContext implicit object" New topic
Author

pageContext implicit object

shanthisri mocherla
Ranch Hand

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

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
 
Similar Threads
Passed
Passed
Passed!
Passed With 83%..
Passed. :)