Hi
I am new to
JSF and I have got working a simple form, that takes input from user by inputText and after I submit the form - the data will be saved to a database.
The navigation goes like this, that after the form is submitted, the same page and same form will be showed. My problem is, that after the submit, when page is reloaded, the input fields are filled with information I just submitted. I want them to be empty, just like they were from the first request.
I am sure for that, there is a simple solution, but I can't find it.
contacts.jsp:
faces-config.xml:
my.package.ContactForm.java is just simple form bean with action-methods and properties:
String firstname, lastname and email.
Thanks.