GeeCON Prague 2014*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes mock exam doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "mock exam doubt" Watch "mock exam doubt" New topic
Author

mock exam doubt

Brijesh shah
Ranch Hand

Joined: Mar 16, 2007
Posts: 90
32.Select sample web application file listing with appropriate directory structure
Please select two correct answers.
A.
index.html
/login.jsp
/images/logo.gif
/WEB-INF/web.xml
/WEB-INF/lib/basic.jar
/WEB-INF/classes/Test.class
B.
/index.html
/login.jsp
/images/logo.gif
/WEB-INF/web.xml
/WEB-INF/jar/basic.jar
/WEB-INF/classes/Test.class
C.
/index.html
/login.jsp
/images/logo.gif
/WEB-INF/web.xml
/WEB-INF/classes/basic.jar
/WEB-INF/classes/Test.class
D.
/index.html
/login.jsp
/images/logo.gif
/META-INF/web.xml
/WEB-INF/jar/basic.jar
/WEB-INF/classes/Test.class
E.
/index.html
/login.jsp
/images/logo.gif
/META-INF/web.xml
/WEB-INF/lib/basic.jar
/WEB-INF/classes/Test.class
F.
index.html
/images/logo.gif
/WEB-INF/web.xml
/WEB-INF/jsp/login.jsp
/WEB-INF/lib/basic.jar
/WEB-INF/classes/Test.class

The above Question i got from mock exam in which they have given correct answer as A and F... But i think answer should be A and E...So please correct me if i'm wrong.

Thanks;
Brijesh
Prasanna Kate
Greenhorn

Joined: Nov 30, 2007
Posts: 11
The correct answer is A and F. E is not correct because the deploment descriptor file (web.xml) should be under WEB-INF and not under META-INF. The container is going to look for it under WEB-INF.
Brijesh shah
Ranch Hand

Joined: Mar 16, 2007
Posts: 90
Originally posted by Prasanna Kate:
The correct answer is A and F. E is not correct because the deploment descriptor file (web.xml) should be under WEB-INF and not under META-INF. The container is going to look for it under WEB-INF.


Thanks Prasanna i got it...
If possible then please look in to my previous thread named servletcontext doubt i tried to learn about it through searching API but not understanding properly and also i dont have much time to search because i am going to take my exam soon..that is the reason i am posting my each query..

Thanks,
Brijesh Shah
-SCJP
-target SCWCD
 
GeeCON Prague 2014
 
subject: mock exam doubt