多选题In which two locations can library dependencies be defined for a web application? ()Athe web application deployment descriptorBthe /META-INF/dependencies.xml fileCthe /META-INF/MANIFEST.MF manifest fileDthe /META-INF/MANIFEST.MF manifest of a JAR in th

题目
多选题
In which two locations can library dependencies be defined for a web application? ()
A

the web application deployment descriptor

B

the /META-INF/dependencies.xml file

C

the /META-INF/MANIFEST.MF manifest file

D

the /META-INF/MANIFEST.MF manifest of a JAR in the web application classpath

参考答案和解析
正确答案: A,C
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which two actions protect a resource file from direct HTTP access within a web application?()

  • A、Placing it in the /secure directory
  • B、Placing it in the /WEB-INF directory
  • C、Placing it in the /META-INF/secure directory
  • D、Creating a  element within the deployment descriptor

正确答案:B,C

第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?()

  • A、The TLD must be located within the WEB-INF directory of the JAR file.
  • B、The TLD must be located within the META-INF directory of the JAR file.
  • C、The TLD must be located within the META-INF/tld/ directory of the JAR file.
  • D、The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
  • E、The TLD must be located within a subdirectory of META-INF directory of the JAR file.

正确答案:B,E

第3题:

Inwhichtwolocationscanlibrarydependenciesbedefinedforawebapplication?()

A.thewebapplicationdeploymentdescriptor

B.the/META-INF/dependencies.xmlfile

C.the/META-INF/MANIFEST.MFmanifestfile

D.the/META-INF/MANIFEST.MFmanifestofaJARinthewebapplicationclasspath


参考答案:C, D

第4题:

In which two web application directories can dependent classes and libraries be located? ()

  • A、 /WEB-INF/lib as a JAR file
  • B、 /META-INF/lib as a JAR file
  • C、 /classes as compiled class files
  • D、 /WEB-INF/lib as compiled class files
  • E、 /WEB-INF/classes as compiled class files
  • F、 /META-INF/classes as compiled class files

正确答案:A,E

第5题:

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)?()

  • A、The JAR file
  • B、A directory called lib
  • C、A directory called tags
  • D、A directory called TLDs
  • E、A directory called classes
  • F、A directory called META-INF

正确答案:B,C,E

第6题:

Which two elements of the Java Enterprise Application Archive are required?()

  • A、EJB Archive  
  • B、Deployment Descriptor
  • C、META-INF sub directory
  • D、Resource Adapter archive
  • E、Java library

正确答案:A,B

第7题:

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

  • A、 /conf/web.xml
  • B、 /WEB-INF/web.xml
  • C、 /conf/server.xml
  • D、 /META-INF/web.xml
  • E、 /WEB-INF/rules.xml
  • F、 /META-INF/server. Xml

正确答案:B

第8题:

WhichpathisrequiredtobepresentwithinaWARfile?()

A./classes

B./index.html

C./MANIFEST-INF

D./WEB-INF/web.xml

E./WEB-INF/classes

F./WEB-INF/index.html

G./META-INF/index.xml


参考答案:E

第9题:

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?()

  • A、 /WEB-INF
  • B、 /META-INF
  • C、 /WEB-INF/tlds
  • D、 /META-INF/tlds
  • E、 WEB-INF/resources
  • F、 /META-INF/resources

正确答案:A,C,E

第10题:

Which the two about WAR files are true?()

  • A、 WAR files must be located in the web application library directory.
  • B、 WAR files must contain the web application deployment descriptor.
  • C、 WAR files must be created by using archive tools to designed specifically for that purpose. 
  • D、 The web container must serve the content of any META-INF directory located in a WAR file.
  • E、 The web container must allow access to resources in JARs in the web application library directory

正确答案:B,E

更多相关问题