Which statement describe about JMS is NOT true?
a. JMS supports Publish/Subcribe
b. JMS enhances access to email services
c. JMS use JNDI to locate the destination
Answer: C
Java | Advance Java | Multiple Choice | Questions and Answers | Test Bank
a. <taglib_uri>
b. <taglib-location>
c. <tag-uri>
d. <taglib-name>
a. <jsp:getProperty name="mybean" property="name"/>
b. <%out.println(mybean.getName())%>
c. <%=out.println(mybean.getName())%>
d. <%=jsp:getProperty name="mybean" property="name"%>
a. <%@ tagliburi="http://www.abc.com/tags/util" prefix="util" %>
b. <%! page import='java.util.*' %>
c. <% include file="/copyright.html"%>
d. <%! tagliburi="http://www.abc.com/tags/util" prefix="util" %>
a. <%@page import='java.util.*' %>
b. <%@import package='java.util.*' %>
c. <%@ package import ='java.util.*' %>
d. <%! page import='java.util.*' %>
a. <%! Date d = new Date(); %>
b. <%! Date d = new Date() %>
c. <%@ Date d = new Date() %>
d. <% Date d = new Date() %>
a. <%= new Date() %>
b. <% "Hello World"; %>
c. <%= "Hello World"; %>
d. <%= out.println("hello"); %>
<question><html>
<question><body>
<question><%!
<question> public void _jspService(HttpServletRequest request, HttpServletResponse response) {
<question> out.write("A");
<question> }
<question> %>
<question><% out.write("B"); %>
<question></body>
<question></html>
<question><html>
<question><body>
<question><%! public String methodA() {
<question> return methodB();
<question>}
<question>%>
<question><%! public String methodB() {
<question> return "JAD Final Test";
<question>}
<question>%>
<question><h2><%= methodA() %></h2>
<question></body>
<question></html>
a. out.println("<a href=' "+response.encodeURL("/servlet/XServlet")+" '>Click here</a>"));
b. out.println("<a href=' "+request.rewrite("/servlet/XServlet")+" '>Click here</a>"));
c. out.println(response.rewrite("<a href='/servlet/XServlet'>Click here</a>"));
d. request.useURLRewriting();