问答题

Click the ’Select and Place’ button.
Place the events in the order they occur.


您可能感兴趣的试卷

你可能感兴趣的试题

8.多项选择题

Given a web application in which the request parameter productID contains a product identifier.
Which twoEL expressions evaluate the value of the productID?()

A.${productID}
B.${param.productID}
C.${params.productID}
D.${params.productID[1]}
E.${paramValues.productID}
F.${paramValues.productID[0]}

10.多项选择题

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?()

A.<title>${titleStr}</title>
B.<title>${initParam.titleStr}</title>
C.<title>${params[0].titleStr}</title>
D.<title>${paramValues.titleStr}</title>
E.<title>${initParam[’titleStr’]}</title>

最新试题

Click the ’Select and Place’ button.Place the events in the order they occur.

题型:问答题

Which three are true about servlet filters?()

题型:多项选择题

Click the ’Select and Place’ button.Place the events in the order they occur.

题型:问答题

Click the ’Select and Place’ button.Place the events in the order they occur.

题型:问答题

Which ensures that a JSP response is of type "text/plain"?()

题型:单项选择题

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?

题型:单项选择题

Click the Exhibit button.The attribute "name" has a value of "Foo,"What is the result if this tag handler’s tag is invoked?()

题型:单项选择题

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? ()

题型:多项选择题

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 here26.}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?()

题型:单项选择题

Which two are valid and equivalent?()

题型:多项选择题