1Z0-858試験無料問題集「Oracle Java Enterprise Edition 5 Web Component Developer Certified Professional 認定」

You are creating a web form with this HTML:
11.
<form action="sendOrder.jsp">
12.
<input type="text" name="creditCard">
13.
<input type="text" name="expirationDate">
14.
<input type="submit">
15.
</form>
Which HTTP method is used when sending this request from the browser?

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?

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?

Given:
11.
<% java.util.Map map = new java.util.HashMap();
12.
request.setAttribute("map", map);
13.
map.put("a", "true");
14.
map.put("b", "false");
15.
map.put("c", "42"); %>
Which three EL expressions are valid and evaluate to true? (Choose three.)

正解:A,D,E 解答を投票する
What is true about Java EE authentication mechanisms?

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."
正解:
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?

Your web application requires the ability to load and remove web files dynamically to the web container's file system. Which two HTTP methods are used to perform these actions? (Choose two.)

Within the web application deployment descriptor, which defines a valid JNDI environment entry?

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?

Which path is required to be present within a WAR file?

For manageability purposes, you have been told to add a "count" instance variable to a critical JSP Document so that a JMX MBean can track how frequent this JSP is being invoked. Which JSP code snippet must you use to declare this instance variable in the JSP Document?

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?