| Author |
Enthuware question WAR
|
Chandra Bhatt
Ranch Hand
Joined: Feb 28, 2007
Posts: 1707
|
|
Which of the following must be present in the WAR file. a. /meta-inf/index.html b. /index.xml c. /MANIFEST-INF d. /WEB-INF/web.xml e. /WEB-INF/classes f. /WEB-INF/index.html g. /meta-inf/web.xml
Source: Enthuware Exam 5 Thanks,
|
cmbhatt
|
 |
Amol Nayak
Ranch Hand
Joined: Oct 26, 2006
Posts: 218
|
|
Which of the following must be present in the WAR file. a. /meta-inf/index.html b. /index.xml c. /MANIFEST-INF d. /WEB-INF/web.xml e. /WEB-INF/classes f. /WEB-INF/index.html g. /meta-inf/web.xml
Hi chandra, a war is nothing but an archive of the web application's directory My answer is C. D would be required if your app has some class files as well.
|
 |
Amol Nayak
Ranch Hand
Joined: Oct 26, 2006
Posts: 218
|
|
Sorry, its D and not C. And its E for the second one..
|
 |
sergio luiz pereira filho
Greenhorn
Joined: Feb 14, 2006
Posts: 9
|
|
Hi, the letter c is wrong. The 'MANIFEST' file contains only the dependencies of classes... I think the correct is "D" because the WAR file is the entire web project and any web project has a web.xml
|
--Sergio Luiz--<br />--JavaBoy (SCJP)--<br />--WebJavaBoy (SCWCD) --
|
 |
khushhal yadav
Ranch Hand
Joined: Jun 20, 2007
Posts: 242
|
|
Hi Chandra What does WAR stands for??? -It's Web Archive. What's it purpose? -packaging of web application for importing and deployment. Then what must be present in a Web Archive file?? - It's web.xml. Where should it be present? - In WEB-INF. So What should be the answer?? - It's /WEB-INF/web.xml Also it may contain METAINF.MF file for defining external library dependency. But that should be present in META-INF directory under context root directly. And it's presence is not imperative too. Regards, Khushhal
|
rgrds,
Khushhal
|
 |
Chandra Bhatt
Ranch Hand
Joined: Feb 28, 2007
Posts: 1707
|
|
Hi khushhal, Thanks for so nice explanation! I really appreciate you. Thanks,
|
 |
 |
|
|
subject: Enthuware question WAR
|
|
|