Hello,
We are facing a strange scenario.
We have a
jsf page and a request scoped bean. When we submit the page, if there are any validation errors then same page is displayed with errors.
On development machines only 1 instance of managed bean is created for above scenario.
[managed bean instance is created -> action method is called -> validation fails -> same page is rendered]
But on our
test environment 2 instances are created for the same scenario,
[managed bean instance is created -> action method is called -> validation fails -> a new instance is created -> same page is rendered]
This issue is causing inconsistency in our application.
How do we control this behavior? Is there any configuration in faces-config.xml or web.xml?
*NOTE: We are using websphere portal 7.0 on test machines and 6.1 on local machines.