1Z0-858試験無料問題集「Oracle Java Enterprise Edition 5 Web Component Developer Certified Professional 認定」
The tl:taskList and tl:task tags output a set of tasks to the response and are used as follows:
11.
<tl:taskList>
12.
<tl:task name="Mow the lawn" />
13.
<tl:task name="Feed the dog" />
14.
<tl:task name="Do the laundry" />
15.
</tl:taskList>
The tl:task tag supplies information about a single task while the tl:taskList tag does the final output. The tag handler for tl:taskList is TaskListTag. The tag handler for tl:task is TaskTag. Both tag handlers extend BodyTagSupport.
Which allows the tl:taskList tag to get the task names from its nested tl:task children?
11.
<tl:taskList>
12.
<tl:task name="Mow the lawn" />
13.
<tl:task name="Feed the dog" />
14.
<tl:task name="Do the laundry" />
15.
</tl:taskList>
The tl:task tag supplies information about a single task while the tl:taskList tag does the final output. The tag handler for tl:taskList is TaskListTag. The tag handler for tl:task is TaskTag. Both tag handlers extend BodyTagSupport.
Which allows the tl:taskList tag to get the task names from its nested tl:task children?
正解:C
解答を投票する
One of the use cases in your web application uses many session-scoped attributes. At the end of the use case, you want to clear out this set of attributes from the session object. Assume that this static variable holds this set of attribute names:
201.
private static final Set<String> USE_CASE_ATTRS;
202.
static {
203.
USE_CASE_ATTRS.add("customerOID");
204.
USE_CASE_ATTRS.add("custMgrBean");
205.
USE_CASE_ATTRS.add("orderOID");
206.
USE_CASE_ATTRS.add("orderMgrBean");
207.
}
Which code snippet deletes these attributes from the session object?
201.
private static final Set<String> USE_CASE_ATTRS;
202.
static {
203.
USE_CASE_ATTRS.add("customerOID");
204.
USE_CASE_ATTRS.add("custMgrBean");
205.
USE_CASE_ATTRS.add("orderOID");
206.
USE_CASE_ATTRS.add("orderMgrBean");
207.
}
Which code snippet deletes these attributes from the session object?
正解:E
解答を投票する
DRAG DROP
Click the Task button.
Place the appropriate element names on the left on the web application deployment descriptor on the right so that files ending in ".mpg" are associated with the MIME type "video/mpeg."

Click the Task button.
Place the appropriate element names on the left on the web application deployment descriptor on the right so that files ending in ".mpg" are associated with the MIME type "video/mpeg."

正解:

You are building a web application with a scheduling component. On the JSP, you need to show the current date, 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.Date currentDate()
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 previous week?
name: curDate; signature: java.util.Date currentDate()
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 previous week?
正解:D
解答を投票する
You are creating a content management system (CMS) with a web application front-end. The JSP that displays a given document in the CMS has the following general structure:
1.<%-- tag declaration --%>
2.<t:document> ...
11. <t:paragraph>... <t:citation docID='xyz' /> ...</t:paragraph> ...
99. </t:document>
The citation tag must store information in the document tag for the document tag to generate a reference section at the end of the generated web page.
The document tag handler follows the Classic tag model and the citation tag handler follows the Simple tag model. Furthermore, the citation tag could also be embedded in other custom tags that could have either the Classic or Simple tag handler model.
Which tag handler method allows the citation tag to access the document tag?
1.<%-- tag declaration --%>
2.<t:document> ...
11. <t:paragraph>... <t:citation docID='xyz' /> ...</t:paragraph> ...
99. </t:document>
The citation tag must store information in the document tag for the document tag to generate a reference section at the end of the generated web page.
The document tag handler follows the Classic tag model and the citation tag handler follows the Simple tag model. Furthermore, the citation tag could also be embedded in other custom tags that could have either the Classic or Simple tag handler model.
Which tag handler method allows the citation tag to access the document tag?
正解:D
解答を投票する