title: Redirect after my login in my application
body: <p>Good morning, I need your help please:
  What happens is that I'm programming in java with jboss server and am using jsf interface (primefaces), my question is because when I authenticate with a login in my application I get redirected to another page and not the one I want.</p>
  
  <p>The url of the login page is:
  ...login.xhtml</p>
  
  <p>Once my login is correct leads me to the following url:
  ...javax.faces.resource/primefaces.js.xhtml</p>
  
  <p>What I wish when my login is correct is to take me to the following url:
  ...index.xhtml</p>
  
  <p>Besides my web.xml file has the following code:</p>
  
  <pre><code>&lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.xhtml&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  </code></pre>
  
  <p>Also I noticed that when I remove dependencies on the file pom.xml primefaces ok, after loguearme directs me to the correct url:
  ...index.xhtml</p>
  
  <p>Please kindly help me.</p>