wood burning stoves 2.0*
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


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 "confusion about implicit object" Watch "confusion about implicit object" New topic
Author

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
Bartender

Joined: Apr 07, 2010
Posts: 1638
    
  23

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

Regards,
Frits
Gurukant Desai
Ranch Hand

Joined: Apr 07, 2008
Posts: 56
Thanks Frits!
I was having the same understanding. :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: confusion about implicit object
 
Similar Threads
JSP page object
doubt is session
JSP HttpSession issue - some pages work, some don't
question about page scope
session attribute in page directive