/*request.setAttribute(Constants.MSG, Feedback.TODO_CREATED.getMsg());
request.setAttribute(Constants.USER, user);
response.setContentType(Constants.TEXT_HTML);
getWebContext().getJSPDispatcher().dispatch("users/id.jsp",
request, response);*/
response.sendRedirect(request.getContextPath() + "/users/" + user.getId() + "/todos");
}
else
{
request.setAttribute(Constants.MSG, Feedback.COULD_NOT_CREATE_TODO.getMsg());
request.setAttribute(Constants.ACTION, Constants.ACTION_CREATE);