This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes confusion about 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 "confusion about implicit object" Watch "confusion about implicit object" New topic

confusion about implicit object

Gurukant Desai
Ranch Hand

Joined: Apr 07, 2008
Posts: 56
which implicit object is NOT available to the jsp page?
<%page isErrorPage='false' session='false' isThreadSafe='false' %>
1) page
2) pageContext
3) session
4) exception
I have confusion between opinion 3 and opinion 4. Please guide.
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper

Joined: Apr 07, 2010
Posts: 2007

Hi Gurukant

both answer 3 and 4 are correct

3) because of session='false' the jsp page will not have a reference to the HttpSession object
4) because of isErrorPage='false' the jsp is not designated to handle exceptions: it will not have a reference to the Exception object

Gurukant Desai
Ranch Hand

Joined: Apr 07, 2008
Posts: 56
Thanks Frits!
I was having the same understanding. :-)
I agree. Here's the link:
subject: confusion about implicit object
It's not a secret anymore!