added redirect for errors to error.jsp