protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
		
		response.setContentType("text/html");
		String action = request.getParameter("action");
		log.info("*** Action is "+action);
	
		if(action.equals("Save") || action.equals("Update")){
			PatientManager patientManager=new PatientManager();
			patientManager.savePatient(request,response);
		}else if(action.equals("View")){
			PatientManager patientManager=new PatientManager();
			patientManager.ListPatient(request, response);
		}else if(action.equals("Create")){
			RequestDispatcher view=request.getRequestDispatcher("AddPatient.jsp");
			view.forward(request, response);
		}else if(action.equals("Get")){
	        PatientManager patientManager=new PatientManager();
	        patientManager.editPatient(request, response);	    	
	    }else if(action.equals("Delete")){
	    	PatientManager patientManager=new PatientManager();
	    	patientManager.deletePatient(request, response);
	    }
		
	}