Servlet - Não atualiza no Banco ACCESS - JDBC

Não estou conseguindo atualizar no banco Access. O código vai abaixo:

import java.io.;
import java.sql.
;
import javax.servlet.;
import javax.servlet.http.
;
import java.util.*;
import java.io.IOException;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.SQLException;
import java.sql.ResultSet;
import java.sql.DriverManager;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.Servlet;
import javax.servlet.ServletException;

public class Inserir extends HttpServlet

{
public void doPost (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
{

String ident = req.getParameter ("ident");
String name = req.getParameter ("name");


try {
  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
  System.out.println("JDBC driver loaded");
}
catch (ClassNotFoundException e) {
  System.out.println(e.toString());
}

try
{

  Connection con = DriverManager.getConnection("jdbc:odbc:trabalho2", "", "");
  Statement s = con.createStatement();
  String sql = "INSERT INTO Func (ident,name) VALUES ('"+ident+"',"+name+"')"; 

  s.executeUpdate(sql);
  res.sendRedirect( "/Fabiano/sucesso.jsp" );

}
catch (SQLException e){
res.sendRedirect( “/Fabiano/erro1.jsp” );
}
}
}

Alguém pode me ajudar?

grato,

amigo coloca isso no seu catch isso ira mostrar o erro…
ai vc posta aqui para gente te ajudar blz

catch(SQLException eth)
{
JOptionPane.showMessageDialog(null,eth.getMessage());
}
catch(Exception eth)
{
JOptionPane.showMessageDialog(null,eth.getMessage());
}

pega a mensagem de erro que da no console do tomcat, ou
passa via query string mesmo para sua pagina de erro e coloca no table qualquer huahuahauh

ex
res.sendRedirect( “/Fabiano/erro1.jsp?erro=” + e.getMessage());

e post ela. huahuhau, to achando q é problema de chave primaria hehehe

[]'s

Valeu!!!

Certinho…