A.<realm-name>
B.<auth-method>
C.<security-role>
D.<transport-guarantee>
E.<web-resource-collection>
您可能感興趣的試卷
你可能感興趣的試題
Given a Filter class definition with this method:
21.public void doFilter(ServletRequest request,
22.ServletResponse response,
23.FilterChain chain)
24.throws ServletException, IOException {
25.// insert code here
26.}
Which should you insert at line 25 to properly invoke the next filter in the chain, or the target servlet if thereare no more filters?()
A.chain.forward(request, response);
B.chain.doFilter(request, response);
C.request.forward(request, response);
D.request.doFilter(request, response);
You need to create a JSP that generates some JavaScript code to populate an array of strings used on the client-side.
Which JSP code snippet will create this array?()
A.
B.
C.
D.
Click the Exhibit button.
The attribute "name" has a value of "Foo,"
What is the result if this tag handler’s tag is invoked?()
A.Foo
B.done
C.Foodone
D.An exception is thrown at runtime
E.No output is produced from this code
最新試題
You are building a web application with a scheduling component. On the JSP, you need to show the currentdate, the date of the previous week, and the date of the next week. To help you present this information,you have created the following EL functions in the ’d’ namespace: name: curDate; signature: java.util.DatecurrentDate() name: addWeek; signature: java.util.Date addWeek(java.util.Date, int) name: dateString;signature:java.util.String getDateString(java.util.Date)Which EL code snippet will generate the string for the previousweek?
Your company has a corporate policy that prohibits storing a customer’s credit card number in anycorporate database. However, users have complained that they do NOT want to re- enter their credit cardnumber for each transaction. Your management has decided to use client-side cookies to record the user’scredit card number for 120 days. Furthermore, they also want to protect this information during transit fromthe web browser to the web container; so the cookie must only be transmitted over HTTPS.Which codesnippet creates the "creditCard" cookie and adds it to the out going response to be stored on the user’s webbrowser?()
Click the 'Select and Place' button.Place the events in the order they occur.
Which two are valid and equivalent?()
Click the 'Select and Place' button.Place the events in the order they occur.
Which is a benefit of precompiling a JSP page?()
Click the 'Select and Place' button.Place the events in the order they occur.
You are building a dating service web site. Part of the form to submit a client’s profile is a groupIIof radio buttons for the person’s hobbies:20.<input type=’radio’ name=’hobbyEnum’ value=’HIKING’>Hiking <br>21.<input type=’radio’ name=’hobbyEnum’ value=’SKIING’>Skiing <br>22.<input type=’radio’ name=’hobbyEnum’ value=’SCUBA’>SCUBA Diving23.<!-- and more options -->After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume thatan application-scoped variable, hobbies, holds a map between the Hobby enumerated type and the displayname.Which EL code snippet will display Nth element of the user’s selected hobbies?()
Given a web application in which the request parameter productID contains a product identifier.Which twoEL expressions evaluate the value of the productID?()
Which is true about the web container request processing model?()