Input data disappeared after the apply button is clicked

After the apply button is clicked, the data entered by the user disappeared in the text form.
How to keep the data appearing on the text form?
The server use jsp and the Spring framework and the client use the Prototype javascript library.

Java and Spring don’t do that, have a look at your javascript prototype library to see if its doing anything funny