Within the web application deployment descriptor, which defines a valid JNDI environment entry()
A.A
B.B
C.C
D.D
您可能感兴趣的试卷
你可能感兴趣的试题
A. /conf/web.xml
B. /WEB-INF/web.xml
C. /conf/server.xml
D. /META-INF/web.xml
E. /WEB-INF/rules.xml
F. /META-INF/server. Xml
Which two are true()
A. Line 13 is not valid for a servlet declaration
B. Line 14 is not valid for a servlet declaration
C. One instance of the servlet will be loaded at startup
D. Ten instance of the servlet will be loaded at start up
E. the servlet will be referenced by the name catalog in mappings
A. j_user and j_id
B. j_id and j_password
C. j_users and j_password
D. j_user and j_password
E. j_login and j_password
F. j_username and j_password
What else must the developer do to ensure that the intended security goal is achieved()?
A. Create a user called vip in the security realm
B. Define a group within the security realm and call it vip
C. Define a security-role named vip in the development descriptor
D. Declare a security-role-ref for vip in the deployment descriptor
A. HTTP Basic Authentication
B. Form Based Authentication
C. HTTP Digest Authentication
D. HTTPS Client Authentication
A. FORM
B. DIGEST
C. NORMAL
D. ENCRYPTED
E. CLIENT-CERT
Which the three EL expressions, inserted at line 15, are valid and evaluate to "3"? ()
A. ${vals.2 }
B. ${vals ["2"]}
C. ${vals.index }
D. ${vals[index]}
E. ${vals} [index]
F. ${vals.(vals.index)}
G. ${vals[vals[index-1]]}
A. Error
B. Exception
C. Throwable
D. Request error
E. Request exception
Which two are true?()
A. The function method must have the signaturepublic: String spin().
B. The method must be mapped to the logical name “spin” in the web.xml file.
C. The function method must have the signature:public String spinIt().
D. The function method must have the signature:public static String spin().
E. The function method must have the signature:public static String spinIT().
F. The function class must be named Spinner, and must be in the package com.example.
A. ${product ID}
B. ${param.productID}
C. ${params.productID}
D. ${params.productID[1]}
E. ${paramvalues.productID}
F. ${paramValues.productID[0]}
G. ${pageContext.request.productID}
最新试题
Which two produce the output "one, two and three"?()
Assume the tag handler for a st:simpletag extends SimpleTagSupport. In what way can scriptlet code be used in the body of st:simple?()
Given the HttpServlet code: getServletContext().setAttribute(“foo”, “value”);What is the result?()
Which the three interfaces need to be declared in the web application deployment descriptor? ()
Assume session is an HttpSession, and is not referenced anywhere else in ServletA. Which two changes, taken together, ensure that value is equal to “Hello” on line 23? ()
Which the two are true regarding a web application class loader?()
Which is the true choice about the web container request processing model()?
Which the JSTL code snippet can be used to import content from another web resource?()
Which the two are characteristics of the Service Locator pattern?()
Which code snippet, inserted at line 8, causes the value Company to be output?()