@@ -0,0 +1,993 @@
+import java.io.IOException;%0Aimport java.sql.SQLException;%0A%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0Aimport projeto.beans.Cliente;%0Aimport projeto.dao.ClienteDAO;%0A%0A/**%0A * Servlet implementation class ClienteServlet%0A */%0A@WebServlet(%22/ClienteServlet%22) %0A%0A%0Apublic class ClienteServlet extends HttpServlet %7B%0A%09private static final long serialVersionUID = 1L;%0A%09%0A%09ClienteDAO cliDAO = new ClienteDAO();%0A       %0A%0A%09protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09%0A%09%09%0A%09%09String nome = request.getParameter(%22nome%22); %0A%09%09Cliente cliente = new Cliente();%0A%09%09cliente.setNome(nome);%0A%09%09%0A%09%09try %7B%0A%09%09%09cliDAO.inserir(cliente); %0A%09%09%7D catch (SQLException e) %7B%0A%09%09%09// TODO Auto-generated catch block%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09%0A%09%09%0A%09%7D%0A%0A%7D%0A

Create ClienteServlet.java