Which is a valid JSP scripting element that could be used for the looping construct?

A JSP contains a for loop that is an integral part of populating and outputting an HTML table with
five rows. Which is a valid JSP scripting element that could be used for the looping construct?

A JSP contains a for loop that is an integral part of populating and outputting an HTML table with
five rows. Which is a valid JSP scripting element that could be used for the looping construct?

A.
<%= for(int i=0; i<5; i++) %>

B.
<% for(int i=0; i<5; i++) %>

C.
<%! for(int i=0; i<5; i++) %>

D.
<@page=”loop” i=”5″ />

E.
<jsp:useBean id=”loop” class=”com.mybean.ForLoop” />



Leave a Reply 0

Your email address will not be published. Required fields are marked *