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


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题Which path is required to be present within a WAR file?()  

A. /classes
B. /index.html
C. /MANIFEST-INF
D. /WEB-INF/web.xml
E. /WEB-INF/classes
F. /WEB-INF/index.html
G. /META-INF/index.xml

2.单项选择题Which element, defined as a child of a  element in the web application deployment descriptor, guarantees a servlet will be initialized at the time the application is deployed?() 

A. <load-on-startup/> 
B. <load-on-startup>1</load-on-startup> 
C. <load-on-startup>-1</load-on-startup> 
D. <load-on-startup>true</load-on-startup>

4.多项选择题


Which three EL expressions, inserted at line 16, are valid and evaluate to “d”? ()

A. ${map.c}
B. ${map[c]}
C. ${map[“c”]}
D. ${map.map.b}
E. ${map[map.b]}
F. ${map.map(map.b)}

5.单项选择题Given an EL function foo, in namespace func, that requires a long as a parameter and returns a Map, which two are valid invocations of function foo?()

A. ${func(1)}
B. ${foo:func(4)}
C. ${func:foo(2)}
D. ${foo(5):func}
E. ${func:foo(“easy”)}
F. ${func:foo(“3”).name}

6.单项选择题


What is the result?()

A. true true
B. false true
C. false true 0
D. true true Infinity
E. false true Infinity
F. An exception is thrown.
G. Compilation or translation fails

7.单项选择题Given that login.getName() returns a java.lang.String value and given the JSP code:  Welcome <%= login.getName() %>Which is equivalent?()

<%>A. Welcome <% out.print(login.getName()); %> 
B. Welcome <% writer.print(login.getName()); %> 
C. Welcome <% response.out.print(login.getName()); %>
D. Welcome <% response.writer.print(login.getName()); %> 
E. Welcome <% response.getOutputStream().write(login.getName()); %>

8.单项选择题


Which is equivalent?()
 

A.A
B.B
C.C
D.D
E.E

9.单项选择题


What is the result?()  

A. An error occurs during page translation.
B. Translation is successful, but nothing is included in the response.
C. Both “10 x 5 = 50” and “2 * 3 = 6” are included in the JSP response.
D. The text “10 x 5 = 50” is included in the JSP response, but “2 * 3 = 6” is NOT.
E. The text “2 * 3 = 6” is included in the JSP response, but “10 x 5 = 50” is NOT.

10.多项选择题Which three occur during JSP page translation?()

A. The jspInit method is called.
B. The JSP page implementation class is created.
C. The JSP page implementation class is compiled.
D. The JSP page is validated for syntatic correctness.
E. The associated tag files are validated for syntatic correctness.