Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Question

 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following implicit page objects are available for a JSP error page, that is, one with an "isErrorPage=true" page directive?
a)application
b)throwable
c)exception
d)config
Multiple Select - Please select all of the correct answers (this question has 3 correct choices).
 
scott irwin
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP 1.2 Spec, Section 2.8.3 Implicit Objects
The error page gets all of the implicit objects that a normal page gets, plus the exception object.
So, request, response, pagecontext, session, application, out, config, page plus exception.
Given the options, you could also guess that Throwable was not correct because it is an interface and not an object.
It was my understanding that this is not a programming test. I had not planned on studying these low level questions. As I read the JSP spec, I only looked for architectural aspects. I did the same for Servlets. The EJB spec I will study in it's entirety.
To anybody that took the test, is the level of detail for JSP/Servlet/Applet?
 
Danl Thompson
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right Scott. The J2EA exam is not a programming test. The questions people are posting here are from the IBM 483 j2ee mock exam. The IBM exams are very detail oriented, much more so than the Sun exams.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic