/WEB-INF/lib as a JAR file
/META-INF/lib as a JAR file
/classes as compiled class files
/WEB-INF/lib as compiled class files
/WEB-INF/classes as compiled class files
/META-INF/classes as compiled class files
第1题:
在Web应用程序的档案与目录结构中,web.xml是直接放置在()之中。
第2题:
假设在helloapp应用中有一个Javabean文件HelloServlet,它位于org.javathinker包下,那么这个bean的class文件应该放在什么目录下? ()
第3题:
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?()
第4题:
Which two are true regarding a web application class loader?()
第5题:
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?()
第6题:
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?()
第7题:
The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.
The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.
TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.
The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.
The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.
The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.
第8题:
The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - cp /foo/myLib.jar/Paper Book.java.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac - classpath /foo/myLib.jar Book.java
第9题:
The JAR file
A directory called lib
A directory called tags
A directory called TLDs
A directory called classes
A directory called META-INF
第10题:
A web application may override the web container’s implementation classes
A web application running in a J2EE product may override classes in the javax.* namespace
A web application class loader may NOT override any classes in the java.* and javax.* namespace
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
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
第11题:
The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar
The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac –cp /foo/myLib.jar/Paper Book.java
The JAR file is located at foo/myLib.jar and the Book class is compiled using javac –classpath /foo/myLib.jar Book.java
第12题:
/WEB-INF/lib
/META-INF/lib
/classes 放置已经编译的类文件
/WEB-INF/classes
第13题:
在WEB应用程序的目录结构中,在WEB-INF文件夹中的lib目录是放()的。
第14题:
在J2EE中,Web容器要求必须在应用程序中有一个WEB-INF目录,这个目录中包括()。
第15题:
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)?()
第16题:
In which two web application directories can dependent classes and libraries be located? ()
第17题:
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?()
第18题:
The TLD must be located within the WEB-INF directory of the JAR file.
The TLD must be located within the META-INF directory of the JAR file.
The TLD must be located within the META-INF/tld/ directory of the JAR file.
The TLD must be located within a subdirectory of WEB-INF directory of the JAR file.
The TLD must be located within a subdirectory of META-INF directory of the JAR file.
第19题:
.jsp文件
.class文件
.jar文件
web.xml文件
第20题:
MyApp目录下
MyApp/images目录下
MyApp/WEB-INF目录下
MyApp/WEB-INF/lib目录下
第21题:
The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.
The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar..
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar/Paper.class.
The JAR file is located at /foo/myLib.jar and a classpath environment variable is set that includes /foo/myLib.jar.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -cp /foo/myLib.jar/Paper Book.java.
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -d /foo/myLib.jar Book.java
The JAR file is located at /foo/myLib.jar and the Book class is compiled using javac -classpath /foo/myLib.jar Book.java
第22题:
A web application may override the web container’s implementation classes.
A web application running in a J2EE product may override classes in the javax.* namespace.
A web application class loader may NOT override any classes in the java.* and javax.* namespaces.
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.
第23题:
server.xml文件,servlet子目录,jar子目录
web.xml文件,classes子目录,jar子目录
server.xml文件,Servlet子目录
web.xml文件,classes子目录,lib子目录