A. A war file is an xml configuration file
B. a war file must contain a directory called META-INF
C. a war file can contain servlets but not jsp pages
D. a war file can contain servlets, jsp and other resources
E. The top directory of a war file is the document root of the application
Answer given in marcus mock: B,D,E
But I think B is wrong , a WAR must contain META-INF only when it is required to specify dependencies otherwise not required.
also I think E is wrong, not the top directory but the contents in the WAR file are unpackaged and become the root of web application.
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
Web applications can be packaged and signed into a Web ARchive format (WAR) file using the standard Java archive tools. When packaged into such a form, a META-INF directory will be present which contains information useful to Java archive tools.