Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What are required in a WAR file

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which 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
F. /WEB-INF/index.html
G. /META-INF/index.xml
H. /WEB-INF/lib

If my appli doesnt have servlet classes (yes all jsp pages ) and I do not have any library in JAR, would E, H required?
 
Priya Jothi
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If u dont have any servlets & dependency jars then i dont think u need classes and lib folder.So option E & H are not required.But you need to have WEB-INF/web.xml.So correct one is option D.Correct me if am wrong.

Regards,
Priya.
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alec Lee:
Which 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
F. /WEB-INF/index.html
G. /META-INF/index.xml
H. /WEB-INF/lib

If my appli doesnt have servlet classes (yes all jsp pages ) and I do not have any library in JAR, would E, H required?


if no servlet classes, then option E,H wont be required, from my view.
2ndly, your question's answer from me, are: option C,D,E,F,H with servlet classes exist.

correct me if i'm wrong, also.
 
Rizwan Mohammad
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the above list only option is required.
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi....

i was wonder whether my answer provided first post was correct or not?

because i face this question with a mock exam also.

according to page 580, the BANG box, dictated everything. So ...?
 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
only D is correct
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic