Res_1

Echoing HTML Request Parameters

Choose an author:

Tan Ali Kumar
<% String[] authors = request.getParameterValues("author"); if (authors != null) { %>

You have selected author(s):

    <% for (int i = 0; i < authors.length; ++i) { %>
  • <%= authors[i] %>
  • <% } %>