try {
EntityManagerFactory emf = Persistence.createEntityManagerFactory("SisInfPengambilanCutiPU");
EntityManager em = emf.createEntityManager();
Loginkaryawan lk= new Loginkaryawan();
LoginKaryawanDAO ldao= new LoginKaryawanDAOImpl(em);
GeneralDAO gdao= new GeneralDAOImpl(em);
Karyawan k= new Karyawan();
k.getId();
String user= request.getParameter("usrname");
String newPass=request.getParameter("newpwd");
String confPass=request.getParameter("confpwd");