• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

valid URL mappings

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which three are valid URL mappings to a servlet in a deployment descriptor ?
(Choose three)
A. */*
B. /*.do
C. myServlet
D. /MyServlet
E. /MyServlet/*
F. MyServlet/*.isp

Answer : BDE
But I do not agree. I think it should be CDE.
B is wrong because an extension mapping cannot start with a /
And if C is wrong, then does it mean url mappings should always start with a / ?

Please enlighten me here, thanks.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember that one B is not correct
http://www.coderanch.com/t/173107/java-Web-Component-SCWCD/certification/Valid-URL-mapping
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, B is definitely wrong.
What about C ? is it correct or wrong ?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic