André,
valeu pela resposta. Testei de novo e funcionou.
Att,
André,
valeu pela resposta. Testei de novo e funcionou.
Att,
Cara, não sei o que pode ter ocorrido pra você. Peguei seu código e fiz um exemplo em scriplet mesmo:
<html>
<%
String filtro = request.getParameter("txtPesquisa");
if (filtro != null){
out.println(filtro);
}
%>
<body>
<form name="frmConsulta" action="Teste.jsp" method="post">
<table width="70%" align="center">
<tr>
<td align="right">
Digite o código ou descrição
</td>
<td>
<input type="text" name="txtPesquisa" value="Instituto" maxlength="30" size="30">
</td>
<td align="left" width="10%">
<input type="submit" value=" OK ">
</td>
</tr>
</table>
</body>
</html>
funcionou perfeitamente