title: SEAM redirect page from backing bean
body: <p>I have a proper newbie SEAM question, I want to redirect the user to a different page from a backing bean</p>
  
  <p>I know in most cases you should use pages.xml however there could be a number of different pages depending on the bean logic so it seems like it should be a lot easier to do from the bean.</p>
  
  <p>I cant see any examples of people doing this so Im guessing there is a reason why, Maybe something like this would work??...</p>
  
  <pre><code>ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
  ((HttpServletRequest) ec.redirect("http://example.com/");
  </code></pre>