I placed in my index page where I have three links one with the name of T-shirts, Bermudas and Pants in which% I put% so that when I clicked the link it was redirected to the servlet and sent the parameters according to the link, but that does not happen.
JSP Page
<%
String camisetas="Camisetas";
String bermudas="Bermudas";
String calcas="Calças";
%>
<div class="dropdown-content3">
<li><a href="ListarProdutosPaginada?tipo=${camisetas}">Camisetas</a></li>
<li><a href="ListarProdutosPaginada?tipo=${bermudas}"> Bermudas</a></li>
<li><a href="ListarProdutosPaginada?tipo=${calcas}">Calças</a></li>
</div>