File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 2043

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
jQuery in Action, 3rd edition