This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "JWeb+ Question ID :1000054920980" Watch "JWeb+ Question ID :1000054920980" New topic
Author

JWeb+ Question ID :1000054920980

R K Singh
Ranch Hand

Joined: Oct 15, 2001
Posts: 5371
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.
CMIW
TIA


"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: 3285
    
    7
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.
HTH,
Paul.
[ June 25, 2002: Message edited by: Paul Anil ]

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

Joined: Oct 15, 2001
Posts: 5371
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JWeb+ Question ID :1000054920980