I'm a beginner in JSF and I´m having the following problem: I have a view with a backbean that I fill some values to perform a search and display results. When I go out and return the application, the values from the latest request remain there. I use the following annotations in my bean:
@Component("requestBeneficioCustosController")
@ManagedBean(name = "requestBeneficioCustosController")
@RequestScoped
public class RequestBeneficioCustosController implements Serializable {
...
I thought with the @RequestScoped annotation, the values of the bean would be cleaned after leaving the page. Does not work that way? Can you help me?
Thank you in advance