il problema l da in
Notizie notizia= NotizieDBManager.inserimentoNotizie(idNotizia,dr,s ommario,testo,id);

codice
****
InserimentoNotiziaForm inserimentoNotiziaForm = (InserimentoNotiziaForm) form;
String dd= inserimentoNotiziaForm.getDataNotizia();
SimpleDateFormat sdf = new SimpleDateFormat("mm/dd/yyyy");
Date dr = sdf.parse(dd);
Timestamp tempo = new Timestamp(dr.getTime());
int idNotizia= inserimentoNotiziaForm.getIdNotizia();
String sommario= inserimentoNotiziaForm.getSommario();
String testo= inserimentoNotiziaForm.getTesto();
int id= inserimentoNotiziaForm.getId();
Notizie notizia= NotizieDBManager.inserimentoNotizie(idNotizia,dr,s ommario,testo,id);
**********************
la classe NotizieDBManager.inserimentoNotizie é:
***************
public class NotizieDBManager {
private static DataSource dataSource;

public static Notizie inserimentoNotizie (int idNotizia,Date tempo,String sommario,String testo,int id)throws ErroreAccessoDatiException,SQLException{
System.out.println("insertnotizia");

if(dataSource == null){
throw new IllegalStateException("NotiziaDBManager non ha ancora a disposizione un DataSource valido");
}
String sqlQuery=null;
sqlQuery = ("insert into notizie_generiche values(?,?,?,?,?)");
Connection connection1 = null;
PreparedStatement pStat1 = null;
ResultSet rSet1 = null;
try{
connection1 = dataSource.getConnection();
pStat1 = connection1.prepareStatement(sqlQuery);
String amministratore=null;


pStat1.setInt(1,idNotizia);
pStat1.setString(2,testo);
pStat1.setString(3,sommario);
pStat1.setDate(4, new java.sql.Date(tempo.getTime()));

pStat1.setInt(5,id);



pStat1.execute();
connection1.commit();
Notizie notiziaNuovo = NotizieDBManager.trovaNotizia(idNotizia);

if (notiziaNuovo!=null){
return notiziaNuovo;
}
else {
return null;
}

}

catch(SQLException errore){
throw new SQLException(errore.getMessage(),String.valueOf(er rore.getErrorCode()));
}
catch(ErroreAccessoDatiException errore){
throw new ErroreAccessoDatiException(errore.getMessage(),Str ing.valueOf(errore.getErrorCode()));
}
finally{
try{rSet1.close();}catch(Exception e){}
try{pStat1.close();}catch(Exception e){}
try{connection1.close();}catch(Exception e){}
}

}

***************