protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws IOException, ServletException {
		//TODO implement logic to process data that client sent to server with POST method.
		//It could include adding employee to repository,
		//validating email, redirecting client to a page where employee list is displayed etc.
        try {
            ers.addEmployee(request.getParameter("fname"), request.getParameter("lname"), request.getParameter("email"));
        } catch (com.academysmart.exception.ServletException e) {
           request.setAttribute("errMsg",e);
        }
        //request.setAttribute("employees",ers.getAllEmployees());
        this.doGet(request,response);

    }