• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confusion about implicit object

 
Gurukant Desai
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 2266
76
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Frits!
I was having the same understanding. :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic