aspose 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 Java 8 in Action this week in the Java 8 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: 29274
    
140

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.
 
Consider Paul's rocket mass heater.
 
subject: Jsp implicit objects
 
Similar Threads
question about page scope
confusion about implicit object
implicit objects are available to the jsp page
JSP page object
JSP HttpSession issue - some pages work, some don't