This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JWeb+ Question ID :1000054920980

 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3747
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
R K Singh
Ranch Hand
Posts: 5384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic