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}
For a given product instance, which three jsp:setProperty attributes must be used to initialized its properties form the HTML form? ()
A. id
B. name
C. type
D. param
E. property
F. reqParam
G. attribute
A session-scoped attribute, product, is stored by a servlet. That servlet then forwards to a JSP page. This attribute holds an instance of the com.Company.
Product class with a name property of “The Matrix” and price property of 39.95. Given the JSP page code snippet:
What is the response output of this JSP page code snippet? ()
A. Default costs 0.0
B. Default costs 49.95
C. Default costs 39.95
D. The Matrix costs 0.0
E. The Matrix costs 49.95
F. The Matrix costs 39.95
A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user.
The user has access to the application for only 15 minutes after logging in. The code must determine how long the user has been logged in, and if this time is greater than 15 minutes, must destroy the HttpSession.
Which method in HttpSession is used to accomplish this?()
A. getCreationTime
B. invalidateAfter
C. getLastAccessedTime
D. getMaxInactiveInterval
A. javax.servlet.http.HttpServletRequest
B. javax.servlet.http.HttpSessionContext
C. javax.servlet.http.HttpsServletResponse
D. javax.servlet.http.HttpSessionBindingEvent
E. javax.servlet.http.HttpSessionAttributeEvent
A. HttpSessionListener
B. HttpSessionBindingListener
C. HttpSessionTimedOutListener
D. HttpSessionAttributeListener
E. HttpSessionActivationListener
F. HttpSessionPassivatedListener
最新试题
Given a JSP error page, which implicit object refers to the uncaught Throwable that resulted in th epage being invoked?()
Which the two are true regarding a web application class loader?()
Within the web application deployment descriptor, which defines a valid JNDI environment entry()
Which three can be placed at line 23 to retrieve an existing HttpSession object?()
A developer for the Company.com web site has been told that users may turn off cookie support in their browsers. What must the developer do to ensure that these customers can still use the web application?()
Which the JSTL code snippet can be used to import content from another web resource?()
Given that session is a valid HttpSession object: Int max = session.getAttribute(“MyReallyLongName”); Which is true?()
Which is the true choice about the web container request processing model()?
Which two are true?()
Given the HttpServlet code: getServletContext().setAttribute(“foo”, “value”);What is the result?()