protected void doPost(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		
		String action = request.getParameter("action");
		ICommand command = CommandFactory.getActionCommand(action);

		if (command != null) {
				try {
					command.execute(request, response);
				} catch (CommandException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (DaoException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
		}
	}