The moose likes Mock Exam Errata and the fly likes JWeb+ Question ID :1000054920980 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "JWeb+ Question ID :1000054920980" Watch "JWeb+ Question ID :1000054920980" New topic

JWeb+ Question ID :1000054920980

R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
Write the name of the directive that allows the current page to access an implicit variable named "exception".
I worte "isErrorPage"
it says wrong and gives correct answer "page"
but then in explanation it says :
You can add:
<%@page isErrorPage="true"%> to the current page to make it an error page and then it can access the 'exception' variable.
I think I am right and explantion is also right but the answer it is giving is wrong.

"Thanks to Indian media who has over the period of time swiped out intellectual taste from mass Indian population." - Chetan Parekh
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3635
Hi Ravish,
Both, the answer and the explanation, are correct. The question is asking about directive and isErrorPage is not a directive. It is an attribute of the page directive. But I see that it is a bit confusing and it should be made clear in the problem statement.
[ June 25, 2002: Message edited by: Paul Anil ]

Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5382
No Paul you are right ..
I was wrong
it clearly says which directive, NOT directive attribute.
and I think these exams are here to make us confuse
I mean so that in real exam we read everything carefully.
Thanks a lot
edited: But it is too much confusing .. on second thought.
[ June 25, 2002: Message edited by: Ravish Kumar ]
wood burning stoves
subject: JWeb+ Question ID :1000054920980
It's not a secret anymore!