Redirecting UI within custom VaadinServlet


I have scenarios which require to redirect to another UI when processing certain requests within MyServlet (extends VaadinServlet). I tried to use response.sendRedirect, but the result is that the browser got into endless looping. Please kindly advise where I went wrong, and any ways to get my purposes done.

Best regards,