File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Mock Exam Question 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 Question doubt" Watch "Mock Exam Question doubt" New topic

Mock Exam Question doubt

gopal venu
Ranch Hand

Joined: Jan 06, 2006
Posts: 55
I got this question from Whizlab.

Which path is required to be present within a WAR file?
A. /classes
B. /index.html
D. /WEB-INF/web.xml
E. /WEB-INF/classes

Answer: E

But I feel its D. As your web can be without "classes" ( ALL JSP page only) but can not without web.xml..

Anybody has any view on this ?
Bhupendra Khabrani

Joined: Apr 11, 2008
Posts: 19
i think it should be both D and E. as both are required.
Sandip Kaviman
Ranch Hand

Joined: Apr 27, 2004
Posts: 49
One argument can be /WEB-INF/web.xml is file while /WEB-INF/classes is path.

S Sravs
Ranch Hand

Joined: Feb 25, 2008
Posts: 85
I think answer is its d.
with out deployment discriptor one cannot successfully upload war file

I agree. Here's the link:
subject: Mock Exam Question doubt
jQuery in Action, 3rd edition