• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Exam Question doubt

 
gopal venu
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got this question from Whizlab.

# QUESTION 24:
Which path is required to be present within a WAR file?
A. /classes
B. /index.html
C. /MANIFEST-INF
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
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think it should be both D and E. as both are required.
 
Sandip Kaviman
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One argument can be /WEB-INF/web.xml is file while /WEB-INF/classes is path.

Thanks
Sandip
 
S Sravs
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think answer is its d.
with out deployment discriptor one cannot successfully upload war file

Regards
Sravanthi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic