Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Valid URL mapping

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all i am having doubt on below question....

1) Find out the Valid URL mappings to the servlet in deployment descriptor
(Choose three)

A) */*
B) /*.do
C) myServlet
D) /MyServlet
E) /MyServlet/*
F) MyServlet/*.jsp

The answer given in mock exam is B,D,E. but i doubt B is not correct.

Can any one tell me correct answers.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
B is not correct.
 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so onle D and E are right.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Maybe they wanted to write "*.do" for answer B.
 
Khaled Mahmoud
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually regarding questions,when preparing for the SCJP 1.5, i used smartCertify, but many many of the answers in those questions were wrong.Actually someone cannot trust those exam mock questions again and have to look for the answer himself
 
Bryan Basham
author
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Option B is definitely incorrect based on the way it is written.

While it is very important that mock exam questions are accurate, I do know from experience that when you create lots of questions a few mistakes "slip through the cracks". Of course, it hurts when you (a) pay money for the mock exam and/or (b) depend on it as a study guide.

I recommend checking all answers against the actual specs. This does two things. First, it validates the mock question. Second, it exposes you to the specs themselves, which is also a fairly decent study guide.

Cheers,
Bryan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic