All three files are directly accessible.
Only File1.html is directly accessible.
Only File2.html is directly accessible.
Only File3.html is directly accessible.
第1题:
Which two actions protect a resource file from direct HTTP access within a web application?()
第2题:
You are developing several tag libraries that will be sold for development of third-party web applications.You are about to publish the first three libraries as JAR files: container-tags.jar,advanced-html-form-tags.jar, and basic-html-form-tags.jar. Which two techniques are appropriate for packaging the TLD files forthese tag libraries?()
第3题:
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 yourweb client’s browsers. What statement is true?()
第4题:
You want to create a valid directory structure for your Java EE web application, and your application usestag files and a JAR file. Which three must be located directly in your WEB-INF directory(NOT in asubdirectory of WEB-INF)?()
第5题:
In which three directories, relative to a web application’s root, may a tag library descriptor file reside when deployed directly into a web application?()
第6题:
You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()
第7题:
/conf/web.xml
/WEB-INF/web.xml
/conf/server.xml
/META-INF/web.xml
/WEB-INF/rules.xml
/META-INF/server. Xml
第8题:
At deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.
At deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.
It can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.
At deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.
第9题:
All three files are directly accessible.
Only File1.html is directly accessible.
Only File2.html is directly accessible.
Only File3.html is directly accessible.
Only File1.html and File2.html are directly accessible.
第10题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
WEB-INF/resources
/META-INF/resources
第11题:
in the subdirectory /WEB-INF/ctxl
in the subdirectory /META-INF/ctxl
in the subdirectory /ctxl in the root of the archive
in the subdirectory /ctxl/resource in the root of the archive
in the root of the archive
第12题:
/WEB-INF
/META-INF
/WEB-INF/tlds
/META-INF/tlds
/WEB-INF/resources
/META-INF/resources
第13题:
Given a portion of a valid Java EE web application’s directory structure: MyApp | |-- File1.html | |-- Directory1 ||-- File2.html| |-- META-INF |-- File3.html You want to know whether File1.html, File2.html, and/or File3.html will be directly accessible by your webclient’s browsers. Which statement is true?()
第14题:
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
第15题:
After a merger with another small business, your company has inherited a legacy WAR file but the originalsource files were lost. After reading the documentation of that web application,you discover that the WARfile contains a useful tag library that you want to reuse in your own webapp packaged as a WAR file. What do you need to do to reuse this tag library?()
第16题:
Which two are true regarding a web application class loader?()
第17题:
In which two web application directories can dependent classes and libraries be located? ()
第18题:
A web application is bound to the context named "/webapp" and the client uses the browser and makes a request to the resource http://server:port/webapp/ctxl/resource. Where do you place this resource inside the web application structure?()
第19题:
The TLD must be located within the WEB-INF directory of the JAR file.
The TLD must be located within the META-INF directory of the JAR file.
The TLD must be located within the META-INF/tld/ directory of the JAR file.
The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
The TLD must be located within a subdirectory of META-INF directory of the JAR file.
第20题:
Simply rename the legacy WAR file as a JAR file and place it in your webapp’s library directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, repackage the whole thingas a JAR file, and place that JAR file in your webapp’s library directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to thetop-level directory, repackage the whole thing as a JAR file, and place that JAR file in your webapp’slibrary directory.
Unpack the legacy WAR file, move the TLD file to the META-INF directory, move the class files to the top-level directory, repackage the WAR, and place that WAR file in your webapp’s WEB-INF directory.
第21题:
The JAR file
A directory called lib
A directory called tags
A directory called TLDs
A directory called classes
A directory called META-INF
第22题:
/WEB-INF/lib as a JAR file
/META-INF/lib as a JAR file
/classes as compiled class files
/WEB-INF/lib as compiled class files
/WEB-INF/classes as compiled class files
/META-INF/classes as compiled class files
第23题:
All three files are directly accessible.
Only File1.html is directly accessible.
Only File2.html is directly accessible.
Only File3.html is directly accessible.
Only File1.html and File2.html are directly accessible.