File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Jsp implicit objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Jsp implicit objects" Watch "Jsp implicit objects" New topic
Author

Jsp implicit objects

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.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

I thought they both were. What exam/mock is this question from?

Also note that it is bad practice to reference any of those implicit objects directly. Using expression language, you reference objects in the session not the session per se.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Gurukant Desai
Ranch Hand

Joined: Apr 07, 2008
Posts: 56
Thanks Jeanne for your guidance.

This question is from my company's exam.
 
wood burning stoves
 
subject: Jsp implicit objects
 
Similar Threads
confusion about implicit object
implicit objects are available to the jsp page
JSP HttpSession issue - some pages work, some don't
question about page scope
JSP page object