public void savePatient(Patient patient,String action)throws Exception{		
		log.debug("savePatient Service method called...");
		PatientDAO patientDao=new PatientDAOJDBCImpl();
		if(action.equals("Save")){			
			patientDao.addPatient(patient);
		}else if(action.equals("Update")){
			patientDao.updatePatient(patient);
		}						
	}