Fala Pessoal, tenho mais uma duvida aqui.
Conforme codigo de exemplo abaixo, eu estou precisando que o usuario digite o codigo do Representante e apareça o nome do representantes na campo de baixo, mas preciso fazer isso sem chamar nenhuma outra pagina.
As Consultas eu já tenho tudo certinho só queria jogar o resultado dela no compo do Nome do Representante.
Alguem consegue me ajudar?
<%@page import="javax.xml.transform.Result"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import="tabelas.*" %>
<%@ page import="java.sql.ResultSet" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 13px;
}
.style2 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #0033FF;
}
-->
</style>
</head>
<body>
<table width="835" border="0" cellpadding="2" cellspacing="2" bgcolor="#E0E0E0">
<tr>
<td colspan="2"><span class="style1">Representante</span></td>
</tr>
<tr>
<td width="145"><div align="right" class="style2">Cod. Representante: </div></td>
<td width="674"><label>
<input name="textfield" type="text" size="10" />
<input type="submit" name="Submit" value="Ir>" />
</label></td>
</tr>
<tr>
<td><div align="right" class="style2">Representante</div></td>
<td><input name="textfield2" type="text" size="45" /></td>
</tr>
</table>
</body>
</html>