A.Authorization
B.Data integrity
C.Confidentiality
D.Authentication
您可能感興趣的試卷
你可能感興趣的試題
A.Authorization
B.Data integrity
C.Confidentiality
D.Authentication
A.HTTP Basic Authentication
B.Form Based Authentication
C.HTTP Digest Authentication
D.HTTPS Client Authentication
A.NULL
B.SECURE
C.INTEGRAL
D.ENCRYPTED
E.CONFIDENTIAL
Click the Exhibit button.
Given the JSP code:
1.<%
2.pageContext.setAttribute( "product",
3.new com.example.Product( "Pizza", 0.99 ) );
4.%>
5.<%-- insert code here --%>
Which two, inserted at line 5, output the name of the product in the response?()
B.<jsp:useBean id="product" class="com.example.Product" /> <%= product.getName()%>
C.<jsp:useBean id="com.example.Product" scope="page"> <%= product.getName()%></jspuseBean>
D.<jsp:useBean id="product" type="com.example.Product" scope="page" /><%= product.getName()%>
Given: 10. 11.Product Name: 12.Product Price:
13. For a given product instance,which three jsp:setProperty attributes must be used to initialize its propertiesfrom the HTML form?()
A.id
B.name
C.type
D.param
E.property
最新試題
You are building a dating web site. The client’s date of birth is collected along with lots of other information.The Person class has a derived method, getAge():int, which returns the person’s age calculated from thedate of birth and today’s date. In one of your JSPs you need to print a special message to clients within theage group of 25 through 35.Which two EL code snippets will return true for this condition? ()
A web application allows the HTML title banner to be set using a servlet context initialization parametercalled titleStr.Which two properly set the title in this scenario?()
Given tutorial.jsp:2.EL Tutorial3.Example 14.5.Dear ${my:nickname(user)}6.Which, when added to the web application deployment descriptor,ensures that line 5 is included verbatimin the JSP output?()
Click the ’Select and Place’ button.Place the events in the order they occur.
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?
Given a web application in which the request parameter productID contains a product identifier.Which twoEL expressions evaluate the value of the productID?()
Your IT department is building a lightweight Front Controller servlet that invokes an application logic objectwith the interface:public interface ApplicationController {public String invoke(HttpServletRequest request)}The return value of this method indicates a symbolic name of the next view. From this name, the FrontController servlet looks up the JSP URL in a configuration table. This URL might be an absolute path or apath relative to the current request. Next, the Front Controller servlet must send the request to this JSP togenerate the view. Assume that the servlet variable request is assigned the current HttpServletRequestobject and the variable context is assigned the webapp’s ServletContext.Which code snippet of the FrontController servlet accomplishes this goal?()
Click the ’Select and Place’ button.Place the events in the order they occur.
Click the Exhibit button.The attribute "name" has a value of "Foo,"What is the result if this tag handler’s tag is invoked?()
Click the 'Select and Place' button.Place the events in the order they occur.