A.<% if(session.isNew())
out.print("Hello");
%>
B.
<%
Enumeration names = request.getParameterNames();%>
<%
jsp:while(names.hasMoreElements())
{ %>
<tr>
<td>
<%= request.getParameter((
String)names.nextElement()) %>
</td>
</tr>
<% } %>
C. <%@ jsp:if condition="<%= session.isNew() %>">
<h2>Hello</h2>
</jsp:if>
D.<%
Enumeration names = request.getParameterNames();
while(names.hasMoreElements())
{
<tr>
<td>
out.print(request.getParameter((String)names.nextElement());
</td>
</tr>
} %>
In the above examples option D is correct right when we are using JSP technology.
But in mock exam its showing otion A.
Suggest me in this.
Thanks in advance