单选题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?()AAll three files are directly accessible.BOnly File1.html is directly accessible.COnly File2.html is directly accessible.DOnly File3.html is directly accessible.EOnly File1.html and File2.html are directly accessible.

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

E

Only File1.html and File2.html are directly accessible.


参考解析

解析: 暂无解析

相关考题:

● J2EE 规范中定义的Web组件是 (30) 。(30)A.应用(Application)客户端B.小程序(applet)C.Java Servlet和Java Server Pages技术组件D.Enterprise JavaBeans(EJB)组件

J2EE规范中定义的Web组件是 ( ) 。A.应用(Application)客户端B.小程序(applet)C.Java Servlet和Java Server Pages技术组件D.Enterprise JavaBeans(EJB)组件

Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()  A、privateB、finalC、staticD、intE、abstract

Given this fragment in a servlet: 23.if(req.isUserInRole("Admin")) { 24.// do stuff 25.} And the following fragment from the related Java EE deployment descriptor: 812. 813.Admin 814.Administrator 815. 900. 901.Admin 902.Administrator 903. What is the result?()A、Line 24 can never be reached.B、The deployment descriptor is NOT valid.C、If line 24 executes, the user’s role will be Admin.D、If line 24 executes, the user’s role will be Administrator.E、If line 24 executes the user’s role will NOT be predictable.

Which the two are true regarding a web application class loader?()A、 A web application may override the web container’s implementation classesB、 A web application running in a J2EE product may override classes in the javax.* namespaceC、 A web application class loader may NOT override any classes in the java.* and javax.*  namespaceD、 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 getResourceE、 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

Java EE应用的基本软件单元是()A、_Java EE组件B、容器组件C、web组件D、服务组件

Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable  343./mainError.jsp 344. 345. 346.java.lang.ClassCastException  347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()A、The deployment descriptor is invalid.B、The container invokes mainError.jsp.C、The container invokes castError.jsp.D、Neither mainError.jsp nor castError.jsp is invoked.

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

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.

Which two are valid values for the  element inside a  element ofa web application deployment descriptor?()A、NULLB、SECUREC、INTEGRALD、ENCRYPTEDE、CONFIDENTIAL

You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()A、At deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.B、At deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.C、It can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.D、At deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.

Identify four features of WebLogic that provide value above and beyond a simple Java EE  container.()A、Active GridLink for RACB、support for enterprise Web Services standards beyond Java EE specificationC、Integration with Enterprise ManagerD、market leading performanceE、Java EE6 Specification SupportF、Java SE 7 support

Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()A、String s = c.readLine();B、char[] c = c.readLine();C、String s = c.readConsole();D、char[] c = c.readConsole();E、String s = c.readLine("%s", "name ");

多选题Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()AEvery  tag must have at least one  tag.BA  tag can have many  tags.CA given  tag can apply to only one  tag.DA given  tag can contain from zero to many  tags.EIt is possible to construct a valid  tag such that,for a given resource,no user rolescan access that resource.

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

多选题Which two are valid values for the  element inside a  element ofa web application deployment descriptor?()ANULLBSECURECINTEGRALDENCRYPTEDECONFIDENTIAL

多选题Which modifiers and return types would be valid in the declaration of a working main() method for a Java standalone application?()AprivateBfinalCstaticDintEabstract

单选题Which statement is FALSE regarding WebLogic Server 12c?()Asupports Java EE 6.0Bsupports WebLogic Web Services 8.1 Application EnvironmentCincludes a new Maven plug-inDsupports use of annotations in resource adapter class files

多选题Which the two are true regarding a web application class loader?()AA web application may override the web container’s implementation classesBA web application running in a J2EE product may override classes in the javax.* namespaceCA web application class loader may NOT override any classes in the java.* and javax.*  namespaceDResources in the WAR class directory or in any of the JAR files within the library directory may  be accessed using the J2SE semantics of getResourceEResources 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

单选题Given this fragment in a servlet: 23.if(req.isUserInRole("Admin")) { 24.// do stuff 25.} And the following fragment from the related Java EE deployment descriptor: 812. 813.Admin 814.Administrator 815. 900. 901.Admin 902.Administrator 903. What is the result?()ALine 24 can never be reached.BThe deployment descriptor is NOT valid.CIf line 24 executes, the user’s role will be Admin.DIf line 24 executes, the user’s role will be Administrator.EIf line 24 executes the user’s role will NOT be predictable.

多选题You want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()AAt deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.BAt deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.CIt can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.DAt deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.

单选题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?()AAll three files are directly accessible.BOnly File1.html is directly accessible.COnly File2.html is directly accessible.DOnly File3.html is directly accessible.

多选题Which two are true regarding a web application class loader?()AA web application may override the web container’s implementation classes.BA web application running in a J2EE product may override classes in the javax.* namespace.CA web application class loader may NOT override any classes in the java.* and javax.* namespaces.DResources 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.

多选题Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()AString s = c.readLine();Bchar[] c = c.readLine();CString s = c.readConsole();Dchar[] c = c.readConsole();EString s = c.readLine(%s, name );

多选题Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()AFORMBDIGESTCNORMALDENCRYPTEDECLIENT-CERT

单选题Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable  343./mainError.jsp 344. 345. 346.java.lang.ClassCastException  347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()AThe deployment descriptor is invalid.BThe container invokes mainError.jsp.CThe container invokes castError.jsp.DNeither mainError.jsp nor castError.jsp is invoked.

单选题Given this fragment from a Java EE deployment descriptor: 341. 342.java.lang.Throwable  343./mainError.jsp 344. 345. 346.java.lang.ClassCastException  347./castError.jsp 348. If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()AThe deployment descriptor is invalid.BThe container invokes mainError.jsp.CThe container invokes castError.jsp.DNeither mainError.jsp nor castError.jsp is invoked.