多选题Which the two about WAR files are true?()AWAR files must be located in the web application library directory.BWAR files must contain the web application deployment descriptor.CWAR files must be created by using archive tools to designed specifically fo

题目
多选题
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
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which the two are true regarding a web application class loader?()

  • A、 A web application may override the web container’s implementation classes
  • B、 A web application running in a J2EE product may override classes in the javax.* namespace
  • C、 A web application class loader may NOT override any classes in the java.* and javax.*  namespace
  • D、 Resources in the WAR class directory or in any of the JAR files within the library directory may  be accessed using the J2SE semantics of getResource
  • E、 Resources in the WAR class directory or in any of the JAR files within the library directory  cannot be accessed using the J2SE semantics of getResource

正确答案:C,D

第2题:

Which the three are true about servlet filters?()

  • A、 A filter must implement the destroy method
  • B、 A filter must implement the doFilter method
  • C、 A servlet may have multiple filters associated with it
  • D、 A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain  interface
  • E、 A filter that is part of a filter chain passes control to the next filter in the chain by invoking the filterChain forward method
  • F、 For each  element in the web application deployment descriptor, multiple instances of a filter may be created by the web container

正确答案:A,B,C

第3题:

Which two statements are correct about database transportation? ()

A. The source and target platforms must be the same

B. Redo logs, control files and temp files are also transported

C. The transported database must have the same database identifier (DBID) as the source database and cannot be changed

D. The COMPATIBLE parameter must be set to 10.0.0.0 or higher and the database must be opened in readonly mode before being transported

E. Recovery Manager (RMAN) is used to convert the necessary data files of the database if the target platform is different and has different endian format


参考答案:D, E

第4题:

Which two are true regarding a web application class loader?()

  • A、A web application may override the web container’s implementation classes.
  • B、A web application running in a J2EE product may override classes in the javax.* namespace.
  • C、A web application class loader may NOT override any classes in the java.* and javax.* namespaces.
  • D、Resources in the WAR class directory or in any of the JAR files within the library directory may be accessed using the J2SE semantics of getResource.

正确答案:C,D

第5题:

A web application contains a tag file called beta.tag in /WEB-INF/tags/alpha. A JSP page called sort.jspexists in the web application and contains only this JSP code: 1.<%@ taglib prefix="x" 2.tagdir="/WEB-INF/tags/alpha" %> 3. The sort.jsp page is requested. Which two are true?()

  • A、Tag files can only be accessed using a tagdir attribute.
  • B、The sort.jsp page translates successfully and invokes the tag defined by beta.tag.
  • C、The sort.jsp page produces a translation error because a taglib directive must always have a uriattribute.
  • D、Tag files can only be placed in /WEB-INF/tags, and NOT in any subdirectories of /WEB- INF/tags.
  • E、The tagdir attribute in line 2 can be replaced by a uri attribute if a TLD referring to beta.tag is createdand added to the web application.

正确答案:B,E

第6题:

Which two statements are true about Oracle Weblogic Clustering ? ()

  • A、 WLS instances must be in a Cluster for In-Memory HTTP Session Replication to function  
  • B、 WLS supports only hardware load balancing to ensure HA access for HTTP/Web clients
  • C、 The servers must be running on the same port number
  • D、 Make sure your Admin Server configuration and related files reside on a HA file system or some other backup/recovery strategy is in place 

正确答案:A,D

第7题:

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

第8题:

Which two statements are correct about database transportation?() (Choose two.)

A. The source and target platforms must be the same

B. Redo logs, control files and temp files are also transported

C. The transported database must have the same database identifier (DBID) as the source database and cannot be changed

D. The COMPATIBLE parameter must be set to 10.0.0.0 or higher and the database must be opened in readonly mode before being transported

E. Recovery Manager (RMAN) is used to convert the necessary data files of the database if the target platform is different and has different endian format


参考答案:D, E

第9题:

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

第10题:

Your web application requires the ability to load and remove web files dynamically to the web container’s filesystem. Which two HTTP methods are used to perform these actions?()

  • A、PUT
  • B、POST
  • C、SEND
  • D、DELETE
  • E、REMOVE

正确答案:A,D

更多相关问题