Which of the following CANNOT be passed in a JAX-RPC remote method invocation?
The following excerpt from a JSP is meant to display the following output:
The price without tax is: 100.0
The tax rate is: 0.15
The tax on your purchase is: 15.0
The total cost is: 115.0
Using only the line numbers outlined in the JSP excerpt, identify the three lines that need to be changed to allow for proper translation\compilation\display of the JSP. (Select three answers.) The JSP excerpt with the errors is:
<html>
<body>
1 <%! public double calculateTax(double price)
{return price * taxRate;}%>
2 <% double taxRate = 0.15;%>
3 <% public double calculateTotal(double price, double tax)
{return price + tax;}%>
4 <% double price = 100.00; %>
5 The price without tax is: <%= price %> <br>
6 The tax rate is: <%= taxRate %> <br>
7 The tax on your purchase is: <% calculateTax(price); %> <br>
The total cost is: <%= calculateTotal(price, calculateTax(price))%> <br>
</body>
</html>
All of the following are faultcode values defined in the SOAP 1.1 specification EXCEPT:
Why would access to the user-agent header field of an HTTP request be important for a JSP?
A developer wants to make use of a pre-existing tag library located at:
http://www.mycorp/super
The tag that will be used in the JSP will appear as:
<super:doCount>
What directive must appear in the JSP in order to use the tag library?
The APIs used with JAXM applications are defined in which packages?
Given a JDBC data source named myDataSource, which of the following establishes a JDBC connection?
A JSP developer needs to import the java.util.ArrayList class. What is the correct JSP syntax to import this class?
What is the best scope in which to store an object containing display data that is to be sent from a servlet acting as a controller to a JSP page with the session disabled?
According to the J2EE Blueprints, which type of EJB is most appropriate for managing persistent information through JDBC?