Which two actions protect a resource file from direct HTTP access within a web application?()A、Placing it in the /secure directoryB、Placing it in the /WEB-INF directoryC、Placing it in the /META-INF/secure directoryD、Creating a  element within the deployment descriptor

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

相关考题:

To "shore up" the main deck for the stowage of deck cargo means to ______.A.weld pad eyes on deck in proper position to secure the cargoB.strengthen the main deck by placing pillars underneath it in the tween-decksC.distribute the weight of the cargo by placing fore-and-aft planks on the main deckD.package the cargo in wooden crates so it will not damage the deck

Which two components should be part of a security implementation plan?()A、detailed list of personnel assigned to each task within the planB、a Layer 2 spanning tree design topologyC、rollback guidelinesD、placing all unused access ports in VLAN 1 to proactively manage port securityE、enabling SNMP access to Cisco Discovery Protocol data for logging and forensic analysis

Given an Http Session session. A Servlet Request request. And a Servlet Context context. Which retrieves a URL to /WEB INF/ my config.xml within a web application?()A、 session.get Resource (“/WEB-INF/myconfig.xml”)B、 request.get Resource (“/WEB-INF/myconfig.xml”)C、 context.get Resource (“/WEB-INF/myconfig.xml”)D、 get Class ().get Resource (“/WEB-INF/myconfig.xml”)

Which two elements of the Java Enterprise Application Archive are required?()A、EJB Archive  B、Deployment DescriptorC、META-INF sub directoryD、Resource Adapter archiveE、Java library

A developer wants a web application to be notified when the application is about to be shut down. Which two actions are necessary to accomplish this goal?()A、Include a listener directive in a JSP pageB、configure a listener in the TLD file using the  elementC、Include a  element in the web application deployment descriptorD、configure a listener in the application deployment descriptor, using the  elementE、Include a class implementing ServletContextListener as part of the web application deploymen

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.

Which two of these are advantages of placing the VPN device in the DMZ on the firewall?()A、fewer devices to manageB、moderate-to-high scalabilityC、stateful inspection of decrypted VPN trafficD、increased bandwidth with additional interfacesE、decreased complexity as traffic is filtered from the firewall

Which path is required to be present within a WAR file?()A、/classesB、/index.htmlC、/MANIFEST-INFD、/WEB-INF/web.xmlE、/WEB-INF/classes

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()A、 /conf/web.xmlB、 /WEB-INF/web.xmlC、 /conf/server.xmlD、 /META-INF/web.xmlE、 /WEB-INF/rules.xmlF、 /META-INF/server. Xml

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 fileB、A directory called libC、A directory called tagsD、A directory called TLDsE、A directory called classesF、A directory called META-INF

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-INFB、 /META-INFC、 /WEB-INF/tldsD、 /META-INF/tldsE、 WEB-INF/resourcesF、 /META-INF/resources

In which two web application directories can dependent classes and libraries be located? ()A、 /WEB-INF/lib as a JAR fileB、 /META-INF/lib as a JAR fileC、 /classes as compiled class filesD、 /WEB-INF/lib as compiled class filesE、 /WEB-INF/classes as compiled class filesF、 /META-INF/classes as compiled class files

Which path is required to be present within a WAR file?()  A、 /classesB、 /index.htmlC、 /MANIFEST-INFD、 /WEB-INF/web.xmlE、 /WEB-INF/classesF、 /WEB-INF/index.htmlG、 /META-INF/index.xml

Which two secure remote access methods are available on the WX platforms?() (Choose two.)A、SSLB、SSHC、TelnetD、HTTP

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?()A、in the subdirectory /WEB-INF/ctxlB、in the subdirectory /META-INF/ctxlC、in the subdirectory /ctxl in the root of the archiveD、in the subdirectory /ctxl/resource in the root of the archiveE、in the root of the archive

You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()A、In the Web.config file, enable impersonation.B、In IIS, enable anonymous access.C、In IIS, disable anonymous access.D、In the Web.config file, set the authentication mode to Windows.

单选题To shore up the main deck for the stowage of deck cargo means to().Aweld pad eyes on deck in proper position to secure the cargoBstrengthen the main deck by placing pillars underneath it in the tween-decksCdistribute the weight of the cargo by placing fore-and-aft planks on the main deckDpackage the cargo in wooden crates so it will not damage the deck

单选题Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()A /conf/web.xmlB /WEB-INF/web.xmlC /conf/server.xmlD /META-INF/web.xmlE /WEB-INF/rules.xmlF /META-INF/server. Xml

多选题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?()AThe TLD must be located within the WEB-INF directory of the JAR file.BThe TLD must be located within the META-INF directory of the JAR file.CThe TLD must be located within the META-INF/tld/ directory of the JAR file.DThe TLD must be located within a subdirectory of WEB-INF directory of the JAR file.EThe TLD must be located within a subdirectory of META-INF directory of the JAR file.

多选题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-INFB/META-INFC/WEB-INF/tldsD/META-INF/tldsEWEB-INF/resourcesF/META-INF/resources

多选题In which two web application directories can dependent classes and libraries be located? ()A/WEB-INF/lib as a JAR fileB/META-INF/lib as a JAR fileC/classes as compiled class filesD/WEB-INF/lib as compiled class filesE/WEB-INF/classes as compiled class filesF/META-INF/classes as compiled class files

单选题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?()Ain the subdirectory /WEB-INF/ctxlBin the subdirectory /META-INF/ctxlCin the subdirectory /ctxl in the root of the archiveDin the subdirectory /ctxl/resource in the root of the archiveEin the root of the archive

单选题Which path is required to be present within a WAR file?()A /classesB /index.htmlC /MANIFEST-INFD /WEB-INF/web.xmlE /WEB-INF/classesF /WEB-INF/index.htmlG /META-INF/index.xml

多选题Which two of these are advantages of placing the VPN device in the DMZ on the firewall?()Afewer devices to manageBmoderate-to-high scalabilityCstateful inspection of decrypted VPN trafficDincreased bandwidth with additional interfacesEdecreased complexity as traffic is filtered from the firewall

多选题In which three directories, relative to a web application’s root, may a tag library descriptor file reside whendeployed directly into a web application?()A/WEB-INFB/META-INFC/WEB-INF/tldsD/META-INF/tldsE/WEB-INF/resourcesF/META-INF/resources

单选题Which path is required to be present within a WAR file?()A/classesB/index.htmlC/MANIFEST-INFD/WEB-INF/web.xmlE/WEB-INF/classes

多选题Which two actions protect a resource file from direct HTTP access within a web application?()APlacing it in the /secure directoryBPlacing it in the /WEB-INF directoryCPlacing it in the /META-INF/secure directoryDCreating a  element within the deployment descriptor