Estou fazendo um trabalho da faculdade. Não posso utilizar qualquer framework. O proposito do trabalho e fazer um site de gerenciamento de uma Farmácia
Estou implementando a entrada de produtos.
Minha duvida e a seguinte, como pegar os valores dos inputs e setar os valores nas variáveis de Produto dentro da própria págia JSP?
baixo esta uma parte do código da JSP.
<table width="623" border="1" class="cssTabelaMenu">
<tr>
<td width="126">Nome</td>
<td width="192">Laboratório</td>
<td width="86">Quantidade</td>
<td width="96">Valor Unitario </td>
<td width="87">Valor Venda </td>
</tr>
</table>
<form id="form1" name="form1" method="post" action="">
<table width="627" border="0" class="cssTabelaMenu">
<c:forEach var="produto" items="${lista}">
<tr>
<td width="118"><a href="EntradaProduto/listaEntradaProduto.jsp">
<c:out value="${produto.nome}"/>
</a></td>
<td width="204"><c:out value="${produto.laboratorio}"/></td>
<td width="90">
<input name="quantidade" type="text" size="15" maxlength="10" />
</td>
<td width="95">
<input name="valorUnitario" type="text" size="15" maxlength="10" />
</td>
<td width="94">
<input name="valorVenda" type="text" size="15" maxlength="10" />
</td>
</tr>
</c:forEach>
</table>