PrepAway - Latest Free Exam Questions & Answers

Category: 1D0-532

Exam 1D0-532: CIW WEB DEVELOPER (JCERT)

what syntax would the developer use in order to use the tag called add that adds the two numbers together?

A developer wants to make use of a pre-existing tag library in a JSP. One of the tags in the library
takes in two numbers, adds them together and outputs the result. The following directive appears
at the top of the JSP that will use the tag:
<%@ taglib uri=”http://www.mycorp/addition” prefix=”calculate” />
Given the following except from the tag library descriptor, what syntax would the developer use in
order to use the tag called add that adds the two numbers together?
<tag>
<name>add</name>
<tagclass>com.examples.Calculator</tagclass>
<attribute>
<name>first</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>second</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

what order would they be notified if the application were shut down?

If four classes were instantiated in the following order, implementing the associated event listener,
in what order would they be notified if the application were shut down?
CustomConnectionManager implements HttpSessionListener
CustomerManager implements ServletContextListener
OrderManager implements HttpSessionListener
ShoppingCartManager implements HttpSessionListener


Page 10 of 12« First...89101112