I have an application using JSF, which has a navigation bug. The homepage, which is index.jsp (however I have an index.faces file — and this file is listed in the welcome list) has a form on it. When the form is submitted, a backing bean is called, which creates a new view and sets it as the current view. This view is the next page in the web site flow.
What’s happening is this: the first time a user comes to the site (or if the browser history is cleared), the form submit stays on the same page. It’s not until the second time the form is submitted that the following page is shown.
On the first click, the URL changes from http://companyconnector.com/ to http://companyconnector.com/index.faces;jsessionid=…
Any ideas?
Have you tried changing the scope of the backing bean from session scope to request scope? Which version of JSF is this anyway?