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

多选题
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 developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()A.The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.B.The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.C.TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.D.The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.E.The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.F.The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.

在下面哪个web应用目录中可以放置所需要的class文件?()  A、 /WEB-INF/libB、 /META-INF/libC、 /classes 放置已经编译的类文件D、 /WEB-INF/classes

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

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.

在Web应用程序的档案与目录结构中,web.xml是直接放置在()之中。A、WEB-INF目录B、conf目录C、lib目录D、classes目录

在WEB应用程序的目录结构中,在WEB-INF文件夹中的lib目录是放()的。A、.jsp文件B、.class文件C、.jar文件D、web.xml文件

假设在helloapp应用中有一个Javabean文件HelloServlet,它位于org.javathinker包下,那么这个bean的class文件应该放在什么目录下? ()A、helloapp/HelloServlet.classB、helloapp/WEB-INF/HelloServlet.classC、helloapp/WEB-INF/classes/HelloServlet.classD、helloapp/WEB-INF/classes/org/javathinker/HelloServlet.class

在J2EE中,Web容器要求必须在应用程序中有一个WEB-INF目录,这个目录中包括()。 A、server.xml文件,servlet子目录,jar子目录B、web.xml文件,classes子目录,jar子目录C、server.xml文件,Servlet子目录D、web.xml文件,classes子目录,lib子目录

A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jarB、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jarC、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.classD、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jarE、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.javaF、The JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java

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.

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 developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.F、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.javaG、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java

A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where theold one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/*.jar games.Chess Bob’s CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar  What is a possible location for the Chess.class file?()A、/test/Chess.classB、/home/bob/Chess.classC、/test/games/Chess.classD、/usr/lib/games/Chess.classE、/home/bob/games/Chess.class

A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar.  Which three, taken independently, will allow the developer to use the Paper class while compiling the Bookclass?()A、The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.B、The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..C、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.D、The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.E、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.F、The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java

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

多选题A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()AThe JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.BThe JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.CTheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.DThe JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.EThe JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.FThe JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.

单选题在WEB应用程序的目录结构中,在WEB-INF文件夹中的lib目录是放()的。A.jsp文件B.class文件C.jar文件Dweb.xml文件

多选题A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar.  Which three, taken independently, will allow the developer to use the Paper class while compiling the Bookclass?()AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.BThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..CThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.DThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.EThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.FThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java

单选题假设web应用的文档根目录为MyApp,那么可以从哪里找到database.jar文件()AMyApp目录下BMyApp/images目录下CMyApp/WEB-INF目录下DMyApp/WEB-INF/lib目录下

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

多选题A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.BThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..CThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.DThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.EThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.FThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.javaGThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java

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

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

多选题A developer is creating a class Book, that needs to access class Paper. The Paper class is deployed in a JAR named myLib.jar. Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?()AThe JAR file is located at $JAVA_HOME/jre/classes/myLib.jarBThe JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jarCThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.classDThe JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jarEThe JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.javaFThe JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java

单选题在J2EE中,Web容器要求必须在应用程序中有一个WEB-INF目录,这个目录中包括()。Aserver.xml文件,servlet子目录,jar子目录Bweb.xml文件,classes子目录,jar子目录Cserver.xml文件,Servlet子目录Dweb.xml文件,classes子目录,lib子目录

单选题在下面哪个web应用目录中可以放置所需要的class文件?()A /WEB-INF/libB /META-INF/libC /classes 放置已经编译的类文件D /WEB-INF/classes