non dovrebbe essere quello l'errore perchè già l'ho usato altre volte.piuttosto nella riga:

String nomeProdotto = request.getParameter("T1");
String strSQL="SELECT id,nome FROM PRODOTTO";

infatti in un altro caso,in cui doveva prendere un intero da url ho usato:

int id_prod= Integer.valueOf(request.getParameter("id_prod")).i ntValue();
String strSQL="SELECT id,nome,descrizione,prezzo FROM PRODOTTO WHERE id="+id_prod;

ma non riesco a trovare qualcosa simile a intValue() che vale x le stringhe.e non so neanche se in questo modo gli sto passando correttamente il parametro :master: