Given a portion of a valid Java EE web application’s directory structure:
MyApp
|
|– Directory1
| |– File1.html
|
|– META-INF
| |– File2.html
|
|– WEB-INF
|– File3.html
You want to know whether File1.html, File2.html, and/or File3.html is protected from direct access
by your web client’s browsers.
What statement is true?
A.
All three files are directly accessible.
B.
Only File1.html is directly accessible.
C.
Only File2.html is directly accessible.
D.
Only File3.html is directly accessible.
E.
Only File1.html and File2.html are directly accessible.
F.
Only File1.html and File3.html are directly accessible.
G.
Only File2.html and File3.html are directly accessible.
Explanation:
File 3 must be in WEB-INF