title: How do I process GET query string URL parameters in backing bean on page load?
body: <p>I've read how to send parameters using JSF but what if the user types their <code>companyId</code> in the URL when accessing their login page?  For example, </p>
  
  <blockquote>
    <p><a href="http://my.company.url/productName/login.faces?companyId=acme" rel="noreferrer">http://my.company.url/productName/login.faces?companyId=acme</a>.</p>
  </blockquote>
  
  <p>The way we do it now, there is a bit of scriptlet code that grabs the value from the request and then set it in the session.  That parameter changes their look and feel starting from the login page forward so each customer could have a different login page view.  We are using extjs until I switch over to JSF.</p>
  
  <p>Is there a way to do that using JSF 2 or perhaps PrimeFaces?  </p>