Good morning, guys ...
How can I execute a servlet by opening it in a popup and passing 1 parameter? My code looks like this: - In the page that calls
<form name="frmcadentidade" method="get" action="DetalheEntidade">
<input type='submit' id='btncnes' onclick='abrirConsulta()'
value='CONSULTAR'></input>
</form>
function abrirConsulta(){
window.open ('servlets/DetalheEntidade.java', 'pagina',
"width=250 height=250 left=400 top=250");
}
In this case, the parameter I want to pass is another value for this button.