多选题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

多选题
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


参考解析

解析: 暂无解析

相关考题:

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 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

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 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

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?()A、All three files are directly accessible.B、Only File1.html is directly accessible.C、Only File2.html is directly accessible.D、Only File3.html is directly accessible.

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.

单选题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.

多选题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? ()AIn the Web.config file, enable impersonation.BIn IIS, enable anonymous access.CIn IIS, disable anonymous access.DIn the Web.config file, set the authentication mode to Windows.

多选题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)?()AThe JAR fileBA directory called libCA directory called tagsDA directory called TLDsEA directory called classesFA 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/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

多选题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?()APUTBPOSTCSENDDDELETEEREMOVE

单选题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

多选题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

多选题What are three actions performed by the mysql_secure_installation tool?()AIt prompts you to set the root user account passwordBIt checks whether file permissions are appropriate within datadirCIt asks to remove the test database, which is generated at installation timeDIt can delete any anonymous accountsEIt verifies that all users are configuration with the longer password hash

多选题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?()AInclude a listener directive in a JSP pageBconfigure a listener in the TLD file using the  elementCInclude a  element in the web application deployment descriptorDconfigure a listener in the application deployment descriptor, using the  elementEInclude a class implementing ServletContextListener as part of the web application deploymen