單項(xiàng)選擇題 The tl:taskList and tl:task tags output a set of tasks to the response and are used as follows: 11. 12. 13.

14. 15. The tl:task tag supplies information about a single task while the tl:taskList tag does the final output. The taghandler for tl:taskList is TaskListTag. The tag handler for tl:task is TaskTag. Both tag handlers extendBodyTagSupport. Which allows the tl:taskList tag to get the task names from its nested tl:task children?()

 

A.
B.
C.
D.


您可能感興趣的試卷

你可能感興趣的試題

1.多項(xiàng)選擇題Which two directives are applicable only to tag files?()

A.Tag
B.Page
C.Taglib
D.Include
E.Variable

3.單項(xiàng)選擇題Which statement is true if the doStartTag method returns EVAL_BODY_BUFFERED?()

A.The tag handler must implement BodyTag.
B.The doAfterBody method is NOT called.
C.The setBodyContent method is called once.
D.It is never legal to return EVAL_BODY_BUFFERED from doStartTag.

4.單項(xiàng)選擇題

Assume the tag handler for a st:simple tag extends Simple Tag Support.
In what way can scriptlet code beused in the body of st:simple?()

A.Set the body content type to JSP in the TLD
B.Scriptlet code is NOT legal in the body of st:simple.
C.Add scripting-enabled="true" to the start tag for the st:simple element
D.Add a pass-through Classic tag with a body content type of JSP to the body of st:simple, and place the scriptlet code in the body of that tag

最新試題

Which two are valid and equivalent?()

題型:多項(xiàng)選擇題

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.

題型:問答題

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

題型:多項(xiàng)選擇題

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

題型:多項(xiàng)選擇題

The JSP developer wants a comment to be visible in the final output to the browser.Which comment styleneeds to be used in a JSP page?()

題型:單項(xiàng)選擇題

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

題型:單項(xiàng)選擇題

Which element of a web application deployment descriptor  element is required?()

題型:單項(xiàng)選擇題

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?

題型:單項(xiàng)選擇題

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

題型:問答題