This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 3255
    
    2
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JWeb+ Question ID :1000054920980
 
Similar Threads
Error pages
IsError Page in jsp
Cannot print exception message
valid implicit variables in a JSP
Page directive isErrorPage attribute