Ich selbst :-): Auswahlliste + per doppelklick value an Servlet übergeben

Beitrag lesen

na Logo, des geht so :

out.println("<center>");
out.println("<FORM name="select" id="select" ACTION = "http://10.48.229.45/examples/servlet/SelectedProject" METHOD = "GET">");
out.println("<select name="proField" size="3"
/////////////////////////////////////////////////////
ondblClick = document.forms["select"].submit()");
/////////////////////////////////////////////////////
out.println("<option><----------------------------------------------------------------------------------></option>");
for(i = 1; i<length;i=i+2)
{
 out.println("<option value=""+vec.get(i)+"">"+vec.get(i) +"</option>");

}
out.println("</select>");
i=0;
out.print("<br><br><br><br><br><br>"+
"<table>"+
"<colgroup><col><col width="0%" span="4"></colgroup>"+
"<tr>"+
"<td>"+
"<input type = "submit" name="edit" value = " edit" height="20" width="10">"+
"<input type="hidden" name="alias" value=""+alias+"" >"+
"<input type="hidden" name="pass" value=""+password+"" >");
out.println("</form>");

Grüssle aus dem Württembergischen

Bastian

----------------------------------------
Wir können alles ausser hochdeutsch :-)
----------------------------------------