gracias a to2 efectivamente HackmanC el tercero es el q necesito lo q pasa esq tengo 1html con checkbox de ahi el usuario escoge los servicios q quieren comprar:
Código HTML:
Ver original<form action="./prueba.jsp" name="form1" method="post"> <table width="704" height="322" border="0"> <td height="94" colspan="3"><div align="center"><img src="compu.gif" width="486" height="50"></div></td> <td width="405"><div align="center" class="Estilo1 Estilo2">CONCEPTO
</div></td> <td width="136"><div align="center" class="Estilo3">IMPORTE
</div></td> <input name="concepto" type="checkbox" id="concepto" value="40.00"> BONO POR 10 HRS.
<td><div align="center" class="Estilo1 Estilo12">$ 40.00
</div></td> <span class="Estilo1 Estilo12"><span class="Estilo11"> <input name="cantidad2" type="text" id="cantidad2"> <input name="concepto" type="checkbox" id="concepto" value="70.00"> <td><div align="center" class="Estilo13">$ 70.00
</div></td> <span class="Estilo1 Estilo12"><span class="Estilo11"> <input name="cantidad3" type="text" id="cantidad3"> <input name="concepto" type="checkbox" id="concepto" value="170.00"> <span class="Estilo1 Estilo12"><span class="Estilo11"> <input name="cantidad4" type="text" id="cantidad4"> <input name="concepto5" type="checkbox" id="concepto" value="5.00"> HORA DE USO POR COMPUTADORA
</span></td> <div align="center" class="Estilo13">$ 5.00
</div> <span class="Estilo1 Estilo12"><span class="Estilo11"> <input name="cantidad5" type="text" id="cantidad5"> <input name="concepto6" type="checkbox" id="concepto" value="1.00"> HOJA DE IMPRESION
</span></td> <td><div align="center" class="Estilo13">$ 1.00
</div></td> <span class="Estilo1 Estilo12"><span class="Estilo11"> <input name="cantidad6" type="text" id="cantidad6"> <td colspan="3"><div align="center" class="Estilo13"></div> <div align="center"> <p><input type="submit" name="Submit" value="RECIBO">
de este el usuario puede escoger 3 o los 6 conceptos, entonces el jsp tiene q recibirlos hacer la consulta a la bd, recoger el resultado y pintarlo por lo q seguun yo si es el tercer codigo de HackmanC aahhhhhhhhhhh soy muy burra :(