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题:
Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment variable is set to "." (current directory). Which two java commands entered at the command line will run MainClass?()
A.java MainClass if run from the /apps directory
B.java com.company.application.MainClass if run from the /apps directory
C.java -classpath /apps com.company.application.MainClass if run from any directory
D.java -classpath . MainClass if run from the /apps/com/company/application directory
E.java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
F.java com.company.application.MainClass if run from the /apps/com/company/application directory
第2题:
Which two actions protect a resource file from direct HTTP access within a web application?()
第3题:
GivenaportionofavalidJavaEEwebapplication’sdirectorystructure:MyApp||--File1.html||--Directory1||--File2.html||--META-INF|--File3.htmlYouwanttoknowwhetherFile1.html,File2.html,and/orFile3.htmlwillbedirectlyaccessiblebyyourwebclient’sbrowsers.Whichstatementistrue?()
A.Allthreefilesaredirectlyaccessible.
B.OnlyFile1.htmlisdirectlyaccessible.
C.OnlyFile2.htmlisdirectlyaccessible.
D.OnlyFile3.htmlisdirectlyaccessible.
E.OnlyFile1.htmlandFile2.htmlaredirectlyaccessible.
第4题:
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?()
第5题:
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?()
第6题:
假设web应用的文档根目录为MyApp,那么可以从哪里找到database.jar文件()
第7题:
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?()
第8题:
GivenaportionofavalidJavaEEwebapplication’sdirectorystructure:MyApp||--Directory1||--File1.html||--META-INF||--File2.html||--WEB-INF|--File3.htmlYouwanttoknowwhetherFile1.html,File2.html,and/orFile3.htmlisprotectedfromdirectaccessbyyourwebclient’sbrowsers.Whatstatementistrue?()
A.Allthreefilesaredirectlyaccessible.
B.OnlyFile1.htmlisdirectlyaccessible.
C.OnlyFile2.htmlisdirectlyaccessible.
D.OnlyFile3.htmlisdirectlyaccessible.
第9题:
Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()
第10题:
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?()