File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3308
    
    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 ]
 
GeeCON Prague 2014
 
subject: JWeb+ Question ID :1000054920980